GeoRenting API documentation version v1
https://georenting.herokuapp.com/v1
Home
Welcome to the GeoRenting API. This is WIP. Please use me gently.
Auth
The GeoRenting API uses JSON Web Tokens for authentication. You will get one through the Sign In API Call. You need a Google Account Token to login. Authenticated API calls require the token you get after login to be sent in a Authorization header.
GCM
The API will leverage Google Butt Messaging to notify the user of specific events.

/application
Gives you information about the currently possible Upgrade Levels of GeoFences.
/users
Refreshes a Session for a given user. Requires an existing session Token.
Authenticate the User. Requires a Google OAuth Token.
Delete the session.
Returns information about the CashFlow of the user in the last 7 days and all time.
/scores
/fences
Get Fences by user or around a center location. Returns more Information if the fence is owned by the current user.
Create the GeoFence. TTL has to be smaller than MaxTLL, RentMultiplier and Radius have to be valid Values from GET /application/upgrades.
Returns a price estimate for creating a GeoFence at the given location. TTL has to be smaller than MaxTLL, RentMultiplier and Radius have to be valid Values from GET /application/upgrades.
Get information about the GeoFence.
Update the GeoFence. Requires the user to be the owner of it.
Delete the GeoFence. Requires the user to be the owner of it.
This method will visit a GeoFence. The visitor and the owner will be notified via GCM.