WordPress.org

Forums

GitHub API
Need a starting point (1 post)

  1. althe3rd
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GitHub API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.