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.
Source Distribution
Built Distribution
Hashes for fsq_wrapper-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b734a13de75a6ff741dc58aee5ba846f2809aac5c11c5ae79f624837899918f6 |
|
MD5 | 00c01d1904eac30f1894e0be1ca0fb13 |
|
BLAKE2b-256 | c594b6956bd94a322740d931d17955606d7a0b072c98baf31f5c95e35ae77103 |