Test This is a CLI tool to make calls to the foursquare API
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.
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
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size fsq_wrapper-0.0.5-py2-none-any.whl (5.8 kB)||File type Wheel||Python version py2||Upload date||Hashes View|
|Filename, size fsq_wrapper-0.0.5.tar.gz (4.1 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for fsq_wrapper-0.0.5-py2-none-any.whl