Skip to content

valbooth28/mlh-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Unofficial Major League Hacking API

Welcome to the Unoffical MLH API. This is not the offical API used by MLH, but simply one I made at CodeDay Winter 2015. The API is a simple REST made in Flask that utilizes BeautifulSoup. It scrapes information off of mlh.io and returns it in a neat JSON format.

The index returns all the events for the current seasons, both in Europe and the US. Appending s2015 for the current US season, and eu-2015 for the European, provides all the information for its location respectively.

The app returns basic information about each event including the offical id, data, link, location, and name.
The mapping for an event is event/name_of_event/. In the following example the information is pulled from event/dragon%20hacks/.

"Dragon Hacks": {
    "date": "January 10th - 11th",
    "id": "102",
    "link": "http://www.hack-dragon.com",
    "location": "Philadelphia, PA",
    "name": "Dragon Hacks"
  },

You can also select individual querys of hackathons such as the link or id using the url mapping /search/name_of_hackathon/value/. For example search/dragon%20hacks/date/ would return

January 10th - 11th

or search/dragon%20hacks/link/ would return

http://www.hack-dragon.com

Feel free to edit and manipulate the code as you like. I hope this code is as useful as I thought it would be.

About

Unofficial Major League Hacking API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%