App Inventor, API Access and Authentication


App Inventor - Github interface

For the interface I followed the Basics of Authentication guide and the Github API documentation. Thank you Malcolm for being the sponsor of this tutorial!

The test app can

The result will be provided in JSON format, which are converted into a list of lists in App Inventor.
Note: This app is for demo purposes only and does not have any official Github relationship.

Steps for the Setup

  1. Register your application, as Scope check the values you need, see the scope descriptions.. The test app uses user:email to be defined in the app in procedure start. As OAuth 2.0 Redirect URL just enter a valid URL, e.g. in the test app I used https://puravidaapps.com
  2. After registering you will get an ClientID and ClientSecret, just copy them into the corresponding variables in the blocks of Screen1. Also enter the correct Redirect URL.

For questions about App Inventor,
please ask in the App Inventor community.Thank you.

Screen1, First Run of the App

Screen2

Users

Example: Get the authenticated user.

Activity

Example: List repositories being watched by the authenticated user.

Issues

Example: List issues for a repository, here the mit-cml/appinventor-sources repository.

Search

Example: Search for an item entered by the user, e.g. appinventor

Further App Inventor Blocks (Screen2)

Test

Tested successfully on Nexus 5 running Android 4.4.4.

Download

You can test with the apk file, which is available for download here: Download apk file

Buy the source code for App Inventor


You can buy the source code of this project.
With your payment you accept the terms and conditions below.

Payment options

1. Paypal

Please transfer 12 USD via Paypal
to Pura Vida Apps

2. Bitcoin

After having received your payment I will be happy to send the download link to you. Please let me know your Google account! I usually will send the download link not later than 24 hours after having received your payment.

Thank you! Taifun

Terms and Conditions

Back to top of page ...


Home | Snippets | Tutorials | Extensions | Links | Search | Privacy Policy | Contact