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.

Source Distribution

fsq_wrapper-0.0.5.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsq_wrapper-0.0.5-py2-none-any.whl (5.8 kB view details)

Uploaded Python 2

File details

Details for the file fsq_wrapper-0.0.5.tar.gz.

File metadata

  • Download URL: fsq_wrapper-0.0.5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fsq_wrapper-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7151ef496a5ee89658f0bc8e95367570d5c8d4ffbad2ec7d820025e17f652cf7
MD5 e768409633d6dc30dcebc6d7a75f8f7e
BLAKE2b-256 9ffa38bb2953896c45b76fd6bf606dd8d66550e02ae9484e976014f98087e7e7

See more details on using hashes here.

File details

Details for the file fsq_wrapper-0.0.5-py2-none-any.whl.

File metadata

File hashes

Hashes for fsq_wrapper-0.0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 3d5ba6938dcc1fef3137173fbb8a5f32675a29271b2efd569b3b120e9f6ca707
MD5 1c72b116b1e35f9511052190b27aaa11
BLAKE2b-256 972296de6a0b553b3154e7f32611d9cdf88ceb7143097f3da351daf33766e7be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page