Sample android github API client, using
Switch branches/tags
Nothing to show
Clone or download
Latest commit c5e8ef0 Dec 3, 2015
Failed to load latest commit information.
app change EventSource implementation. Dec 3, 2015
gradle/wrapper first commit Jul 13, 2015
.gitignore code review Aug 14, 2015
GibHub client.iml first commit Jul 13, 2015
LICENSE first commit Jul 13, 2015 Update README Aug 11, 2015
build.gradle first commit Jul 13, 2015 first commit Jul 13, 2015
gradlew first commit Jul 13, 2015
gradlew.bat first commit Jul 13, 2015
settings.gradle first commit Jul 13, 2015


This android application shows how to use the proxy in a sample app. allows to get data pushed from various sources and use them in your application. This sample application provides GiuHub repositories commits data, pushed by proxy using Server-sent events.


To run the sample, you can clone this GitHub repository, and then open the project with Android Studio.

Add the authentication token

Before running the project on a phone or emulator, you have to paste a token to be authenticated by the proxy, as well as a GitHub API token, which you can generate from the settings menu of

Modify res/values/config.xml on line 10 & 14 :

   <! app token, got from web portal -->
    <string name="streamdata_app_token">YOUR_STREAMDATA_APP_TOKEN</string>

    <!-- GitHub access token for public utilization
         this token allows only to read public repos-->
    <string name="github_public_token">GITHUB_API_PUBLIC_TOKEN</string>

    <!-- GitHub OAuth client public key  -->
    <string name="app_client_id">GITHUB_OAUTH_PUBLIC_KEY</string>

    <!-- GitHub OAuth client secret key  -->
    <string name="app_client_secret">GITHUB_OAUTH_PRIVATE_KEY</string>

To get a token, please sign up for free to the portal and follow the guidelines. You will find your token in the 'security' section.

Project dependencies

The application dependencies are available on GitHub

If you have any questions or feedback, feel free to contact us at