Skip to content

A sample app that demostrates how to connect to Moves.

Notifications You must be signed in to change notification settings

champierre/moves-api-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy

About this app

This app counts how many days in a month you went to the place you specify, using Moves API. For example, a freelance can easily counts working days and charges the fee to the client. It is based on the sample app that Moves provides.

How to setup

If you have an account, you can easily run this app on Heroku.

  1. Click the "Deploy to Heroku" button at the top of this README.

  2. Set the following config variables. You need to create a developer account at https://dev.moves-app.com/ to get Moves client id and client secret.

$ heroku config:set MOVES_CLIENT_ID=<your client id>
$ heroku config:set MOVES_CLIENT_SECRET=<your client secret>
$ heroku config:set WORKING_PLACE_NAME=<place name that you want to count how many days you went there>

How to use

After authorizing by clicking "Authorize Moves API Demo" button, select "Workdays" at the top of the menu. You get how many days you visited the place you specified in the previous month.

moves api sample

About

A sample app that demostrates how to connect to Moves.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 45.6%
  • HTML 39.6%
  • JavaScript 14.8%