Skip to main content

GitHub Developer APIs

GitHub Developer APIs

GET organisation details
 curl https://api.github.com/orgs/{org-name}  
GET repositories of organisation
 curl https://api.github.com/orgs/{org-name}/repos  
GET a repository details
 curl https://api.github.com/repos/{org-name}/{repository-name}  
Read content of of file
 curl https://api.github.com/repos/{org-name}/{repository-name}/contents/{file-path}  
List commits of repository
 curl https://api.github.com/repos/{org-name}/{repository-name}/commits  
List commits of branch
 curl https://api.github.com/repos/{org-name}/{repository-name}/commits/{branch}  
List release tags
 curl https://api.github.com/repos/{org-name}/{repository-name}/tags  

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.


Comments


  1. Thank you for sharing a valuable information with us. it helps us a lot. please share some information about other computer courses.
    e accounting training institute in delhi

    ReplyDelete
  2. This is really good, I love this content also visit Google Search Api. Thanks for sharing.

    ReplyDelete

Post a Comment

Popular posts from this blog

Function

Function A function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. Representation - Cartesian  product  of 2 sets is mapping every element to every element of other set. It is generally represented as X A={"a","b"}, B={"y","z"} then A X B= {("a","y"),("a","z"),(b,y),(b,z)} Relation: A Relation R from a non-empty set A to a non empty set B is a subset of cartesian product A X B. n(A)= number of element in set A. n(B)= number of element in set B. Let 's say n(A)=p, n(B)=q n(A X B)=pq then no of relations possible from A to B is 2^pq A relation f from a set A to a set B is said to function if every element of set A has one and only one image in set B. Relation: A function f is X to Y then f: X->Y X is called domain set, Y is called range function. Functions are generally represented as  f ( x ) L...

OFFSET in Computer Science

OFFSET in Computer Science In the post, We will understand what is the meaning of OFFSET in computer science with an example. In computer science offset comes picture at may place like packing a data structure, encoding the data etc in some standard protocol so that other parties can deserialise it and understand the data. We will understand its important how does it work with example. suppose we have a data structure for a student like { name:string[20] roll: int[4] course: string[25] batch: int[4] } We want to serialise below student data  { name:"Amit Gupta" roll: 1234 course:Computer Science" batch: 2018 } Our protocol follow the rule that we will insert a value and if space will remain empty we will fill it with $ for example length of "Amit Gupta" is 10 but standard size is 20 so will fill 10 $ after "Amit Gupta". So serialisation of above data will be Amit Gupta$$$$$$$$$$1234Computer Sc...

Install Virtual Environment

VIRTUAL ENV Virtualenv is a tool to create an isolated Python environment. In this post, we will learn how to setup virtualenv on ubuntu. Prerequisite pip Install Virtualenv If you have pip3  sudo pip3 install virtualenv if you have pip sudo pip install virtualenv Create a Virtualenv virtualenv venv venv is a directory in which virtual environment will be created. Working with Virtualenv source venv/bin/activate Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

What is the difference between library and framework?

What is the difference between library and framework? In this post, We will learn about the very confusing term library and framework that widely used in software. Library and Framework Library: Library is a code repository that your code call. For example, curl is a library that can be called by your code. Framework: In a framework, framework call your code. For example, Django is a framework in which you keep your code in a particular structure can Django call your code compilation and execution purpose. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.