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.

Do you need help with your App Inventor project?

I can help you: for one hour I charge 25 USD.
Please contact me at info [at] puravidaapps [dot] com for details!
For questions about App Inventor, please use the App Inventor forum. 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 10 USD via Paypal.

2. Bitcoin

After having received your payment I will be happy to send the source code to you.
Thank you! Taifun


Please check your spam folder in case you did not receive the example!
I usually will send the project not later than 24 hours after having received your payment.

 

Terms and Conditions

Back to top of page ...


Home | Snippets | Tutorials | Extensions | News | Forums | Links | Search | Contact