- Notifications
You must be signed in to change notification settings - Fork9
A client library for interacting with the Gogs REST api.
License
NotificationsYou must be signed in to change notification settings
unfoldingWord-dev/android-gogs-client
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A client library for interacting with theGogs REST api. This library is written to communicate according to the api defined ingogits/go-gogs-client.
##Supported Operations
- create user
- edit user
- search users
- get user
- delete user
- search repositories
- list user repositories
- create repository
- get repository
- delete repository
- create application token
- list application tokens
- create public key
- get public key
- list public keys
- delete public key
##InstallationTo use this library your Android project must be configured to use the JCenter or Maven Central repositories.
Add the following to your package dependencies and sync gradle.
compile 'org.unfoldingword.tools:gogs-client:1.6.0'
##Usage
GogsAPI api = new GogsAPI("https://try.gogs.io/api/v1"); // change to any gogs serverList<User> users = api.searchUsers("some-user-name", 5, null);// do something... // inspect actual response for more details if neededResponse response = api.getLastResponse();
About
A client library for interacting with the Gogs REST api.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.