Skip to main content

Test This is a CLI tool to make calls to the foursquare API

Project description

Foursquare API Wrapper

The Foursquare API wrapper is a command line tool that allows users to interact with Foursquare’s API. It can be used to return information about venues or groups of venues, (namely categories, trending and recommended venues.) It is also possible to perform a search using keywords.

This is my first attempt at creating a python package so it is still under heavy development. Revisions will be made continually to improve the tool and its efficiency.

If you come across this package and would like to contribute, please feel free to initiate a PR, which I will happily accept as it will help me to learn more about the intricacies of package/module creation.


General Usage

To use the Foursquare API Wrapper, you first have to register an application on Foursquare’s developers site. You will be given two keys: a client_id and a client_secret. You will need those to be able to make calls to the API.

After installing the package you can use it like so:

fsq-wrapper <endpoint> <clientid> <client_secret>

Endpoint (Positional Argument)

The nature of the request. As of present date, 4 types of endpoints are accepted: categories, search, trending and explore

Client Id (Positional Argument) The client id given to you by foursquare’s development platform (can be found in the dashboard)

Client Secret (Positional Argument) Same as above

Endpoints

Categories => Will return all venue categories currently supported by the API Search => Lets you make a search for venues on the basis of keywords and location Trending => Will return a list of trending venues based on the location you provide Explore => Will return a list of recommended venues near the provided location

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fsq-wrapper, version 0.0.5
Filename, size & hash File type Python version Upload date
fsq_wrapper-0.0.5-py2-none-any.whl (5.8 kB) View hashes Wheel py2
fsq_wrapper-0.0.5.tar.gz (4.1 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page