GithubHelp home page GithubHelp logo

appsquare's Introduction

appsquare

Import Foursquare check-ins to your Ohai ADN journal.

This is alpha software, I am not responsible for any issues with it, but I am glad to help with them :). Be aware that the script imports all of your checkins.

The script is just a couple of lines of Python and you can tackle stuff from the TODO list if you want to help out - just send a pull request.

Installation

$ brew install python
$ sudo easy_install pip
$ sudo pip install requests foursquare
$ git submodule update --init --recursive

Requirements

You will need to obtain API tokens for Foursquare and ADN. Those will need to be inserted into the appsquare.py script.

For Foursquare:

  1. Go to https://foursquare.com/developers/apps.
  2. Create an application.
  3. Insert FOURSQUARE_CLIENT_ID and FOURSQUARE_CLIENT_SECRET into the script.
  4. On first run of the script, you will need to go through an OAuth process in your browser.
  5. The token that comes from OAuth needs to end up in the variable FOURSQUARE_USER_TOKEN.

For ADN:

If you have a developer account:

  1. Go to https://account.app.net/developer/apps/ and create an app.
  2. Click on 'Generate a user token for yourself' and copy that into the APP_TOKEN variable.
  3. We need permissions for messages and public_messages.

If you don't:

  1. Go to http://dev-lite.jonathonduerig.com, make sure 'Messages' and 'Public messages' are checked.
  2. Click 'Authorize', authorize the app, get the token and copy it into the APP_TOKEN variable.

appsquare's People

Contributors

neonichu avatar valpackett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.