Support » Plugin: GitHub API » Need a starting point

  • I know the description of this plugin mentions that it doesn’t offer any sample on how to make api calls but I was wondering if you could perhaps offer one example of how one would make a call similar to your “get_repo_info()” function in tools.php but within a template page.

    I have been trying to decipher tools.php to do it myself but haven’t had any luck.

    How would I make a call to the api to get a particular repo’s info (even if its just returning json) from within my index.php template file?

    Any tips are appreciated.

    Thanks!

    https://wordpress.org/plugins/github-api/

  • The topic ‘Need a starting point’ is closed to new replies.