Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.19 KB

RepoRetriever

Library that returns a list of GitHub Repository information given a platform and organization.

Environment

  • Android studio v4.2

Using in your project

  1. Add the dependency to your main app build.gradle
    implementation project(':reporetriever')
    
  2. Create an instance of RepoRetriever and initialize
    private lateinit var repoRetriever: RepoRetriever
    ....
    repoRetriever = RepoRetriever()
    
  3. Call API and pass platform and organization
    repoRetriever.getRepos("android","rakutentech")
    

Testing

  1. A sample app is available to call the library, however UI is not provided. Check the output logs via Android Studio. Filter by reporetriever string.
  2. Unit Tests can also be run. See RepoRetrieverTest.

Libraries Used