Skip to content

Instantly share code, notes, and snippets.

@riebschlager
Last active June 7, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riebschlager/2d2baff58249206d157e66acacdb5f86 to your computer and use it in GitHub Desktop.
Save riebschlager/2d2baff58249206d157e66acacdb5f86 to your computer and use it in GitHub Desktop.
Base URL: http://nwhof.org/champions/public/hofRPC.php
Required Post Params
id: Doesn't seem to matter what it is. Just leave it at 1.
method: A method defined in hallOfFameFrontEnd.php
params: An array of params used by the method
Example call:
$http.post('http://nwhof.org/champions/public/hofRPC.php', {
id: 1,
method: 'fetch_award_honorees',
params: [
['20']
]
}).then(function(res) {
console.log(res.data.result);
});
See it in use on the NWHoF website:
http://nwhof.org/stillwater/hall-of-fame/
http://nwhof.org/stillwater/champions-database/
Available methods:
fetch_honoree_award
fetch_honoree
fetch_award
fetch_awards_loop
get_thumb_sources
fetch_year_list
fetch_award_type_list
fetch_regions_list
fetch_chapter_list
fetch_class
fetch_state_class_widget
fetch_honoree_awards
fetch_award_honorees
fetch_award_honorees_by_year
fetch_cdb_schools_list
remove_concat_duplicates
fetch_cdb_wrestler
fetch_wrestler_all_american
fetch_wrestler_ncaa_records
fetch_cdb_school
fetch_all_americans_by_school_paged
fetch_all_americans_by_year_paged
fetch_ncaa_champs_by_school_paged
fetch_school_final_ranks_paged
fetch_school_dual_meets
fetch_school_dual_meets_paged
fetch_seasons_list
fetch_school_rankings_by_year
fetch_ncaa_champs_by_year_paged
check_person
quick_test
get_award_categories
get_bio
get_awards_by_award_id
get_award
get_class
get_state_class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment