← 返回首页
GitHub - unfoldingWord-dev/android-gogs-client: A client library for interacting with the Gogs REST api. · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

unfoldingWord-dev/android-gogs-client

 master
Go to file
Code

Repository files navigation

android-gogs-client

A client library for interacting with the Gogs REST api. This library is written to communicate according to the api defined in gogits/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

##Installation To 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 server List<User> users = api.searchUsers("some-user-name", 5, null); // do something ... // inspect actual response for more details if needed Response response = api.getLastResponse();

About

A client library for interacting with the Gogs REST api.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Footer

© 2026 GitHub, Inc.