The-WebOps-Club / offline_github

A project involving making a github offline browser
0 stars 1 forks source link

GIT Javacript API #2

Open AbdealiLoKo opened 10 years ago

AbdealiLoKo commented 10 years ago

We need to do be able to get info from git and tell git to do some stuff for us.

AbdealiLoKo commented 10 years ago

how to do this ?

Github has an API. https://developer.github.com/v3/

How do we use the API ?

Let's begin by using this, and getting all commits of your github account.

AbdealiLoKo commented 10 years ago

Updates ? Guys ... upload ur code here !

keerthanashanmugam commented 10 years ago

cld u tell wat shld be the call back url for registering the app...

AbdealiLoKo commented 10 years ago

So, basically app goes like this :

^ If that was too complicated or u wanna read more : (from a quick google search)

Both are simple and explain what I've said in more detail ... do go through them !

On Sat, May 24, 2014 at 10:09 PM, keerthana shanmugam < notifications@github.com> wrote:

cld u tell wat shld be the call back url for registering the app...

Reply to this email directly or view it on GitHubhttps://github.com/The-WebOps-Club/offline_github/issues/2#issuecomment-44092602 .

keerthanashanmugam commented 10 years ago

"Invalid block tag: 'highlight' " is the error for the template login.html login.html contains: {% highlight javascript %} window.open('https://github.com/login/oauth/authorize?client_id=client-id'); {% endhighlight %}

AbdealiLoKo commented 10 years ago

Where did you get that coffee example from ? It's saying there is no template tag called highlight ... On May 25, 2014 12:55 AM, "keerthana shanmugam" notifications@github.com wrote:

"Invalid block tag: 'highlight' " is the error for the template login.html login.html contains: {% highlight javascript %} window.open('https://github.com/login/oauth/authorize?client_id=client-id');

{% endhighlight %}

Reply to this email directly or view it on GitHubhttps://github.com/The-WebOps-Club/offline_github/issues/2#issuecomment-44097097 .

keerthanashanmugam commented 10 years ago

its there in the link http://fajitanachos.com/Authenticating-with-the-GitHub-API/

keerthanashanmugam commented 10 years ago

hav uploaded the code in commit- home page url:http://127.0.0.1:8000 call back url:http://127.0.0.1:8000/offgit_sign