Skip to content

Instantly share code, notes, and snippets.

@TronPaul
Last active August 29, 2015 14:05
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 TronPaul/29e658fa5b1b38b441c0 to your computer and use it in GitHub Desktop.
Save TronPaul/29e658fa5b1b38b441c0 to your computer and use it in GitHub Desktop.
UGC proposal

I would like to develop a rest interface for the UGC’s league data. UGC is a free league, staffed by volunteers and has limited resources for development projects. With a restful interface, third-party developers would be able to use UGC data to develop tools and services that would assist the UGC community. Various community members have created small tools already, but developing these tools is difficult as data must be retrieved by parsing UGC web pages. These web pages are not guaranteed to remain the same, and they contain superfluous formatting and rendering data.

Requirements:

  • Rest interfaces for
    • Players
    • Teams
    • Matches
    • Schedules
  • JSON
  • Open Sourced
  • Simple Operation
  • Clear documentation
  • Clear HTTP error code usage

What:

  • Python Flask application
  • UWSGI/Gunicorn application manager
  • Nginx proxy

Potential Issues

  • Application Hosting
    • Who pays?
  • Database load
    • At what percentage capacity is the database currently
    • Rate limiting (is it necessary?)
  • Database access
    • Remote access and security
  • Operations, code maintenance
    • Who is doing it?

Plan:

  • Get schema and which database software is used (MySQL, Postgres, etc)
  • Plan interface layout and seek feedback
  • Build out a single rest interface with tests
  • Demo test version of above, get feedback
  • Repeat for each rest interface
  • Acquire hosting
  • Deploy and announce production version
@bcahue
Copy link

bcahue commented Sep 10, 2014

TronPaul for prez! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment