Giter Site home page Giter Site logo

radar-python's Introduction

radar-python

Rewrite in Python

radar-python's People

Watchers

James Cloos avatar

radar-python's Issues

API

Data Schemes

  • User
  • Society
  • Event

User

  • firstname
  • lastname
  • email
  • avatar
  • id

Society

  • name
  • description
  • categories
  • links:
    • facebook:
    • website:
    • twitter
  • events: list of events
  • contact: list of Users
  • members: list of Users
  • admins: list of Users
  • id

Event

  • name
  • society
  • description
  • tags: list of tags
  • start date/time
  • end date/time
  • location # TODO maybe filter by location
  • id

Requests

All results are JSON.
At least one of the parameters are required.
All italicized parameters are required.

self: userId -> Needs to become oauth token

  • getUsers
  • getSocieties
  • getEvents
  • createUser
  • createSociety
  • createEvent

getUsers

  • METHOD: GET
  • Parameters:
    • id: get a specific user given their id
    • societyId: filter by society
    • firstname: filter by firstname
    • lastname: filter by lastname
  • Result:
    • users: List of Users

getSocieties

  • METHOD: GET
  • Parameters:
    • id: get a specific society given its id
    • name: filter by name
    • description: filter by description
    • categories: filter by category
  • Result:
    • societies: list of Societies

getEvents

  • METHOD: GET
  • Parameters:
    • id: get a specific event given its id
    • society: filter by society
    • name: filter by name
    • description: filter by description
    • tags: list of tags; filter by tags
    • start: filter by start time
    • end: filter by end time
  • Result:
    • events: list of Events

createUser

TODO: Login / Authentication

  • METHOD: POST
  • Parameters:
    • Name:
      • first
      • last
    • email
    • avatar
    • self: the User performing the request
  • Results:
    • User: user id

createSociety

  • METHOD: POST
  • Parameters:
    • name
    • description
    • categories
    • links
    • self: user id
  • Result:
    • societies: list of Societies

createEvent

  • METHOD: POST
  • Parameters:
    • name
    • SocietyId
    • description
    • tags
    • start date/time
    • end date/time
    • location
    • self: user id
  • Result:
    • societies: list of Societies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.