# react-native-foursquare-api

> react-native wrapper for foursquare api using fetch

Latest version **0.0.4** (published 2016-05-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-foursquare-api
pnpm add react-native-foursquare-api
yarn add react-native-foursquare-api
bun add react-native-foursquare-api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2016-05-06 |
| First published | 2016-05-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Layton Whiteley |
| Maintainers | lwhiteley |
| Keywords | react-component, react, react-native, foursquare, 4square, fetch |

## Links

- npm: https://www.npmjs.com/package/react-native-foursquare-api
- Repository: https://github.com/lwhiteley/react-native-foursquare-api
- Homepage: https://github.com/lwhiteley/react-native-foursquare-api#readme
- Issues: https://github.com/lwhiteley/react-native-foursquare-api/issues
- npm.io page: https://npm.io/package/react-native-foursquare-api

## Dependencies (1)

- [querystring](https://npm.io/package/querystring.md) ^0.2.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2016-05-06
- 0.0.3 — 2016-05-06
- 0.0.2 — 2016-05-06
- 0.0.1 — 2016-05-05

## README

# react-native-foursquare-api
react-native wrapper for foursquare api using fetch

This is currently a wrapper on the foursquare v2 API (`https://api.foursquare.com/v2`).

#### Example

```js
var foursquare = require('react-native-foursquare-api')({
  clientID: 'YOUR_CLIENTID',
  clientSecret: 'YOUR_CLIENTSECRET',
  style: 'foursquare', // default: 'foursquare'
  version: '20140806' //  default: '20140806'
});

// see respective api documentation for list of params you could pass
var params = {
	"ll": "10.652814,-61.3969835",
  "query": 'Movie Towne'
};

foursquare.venues.getVenues(params)
      .then(function(venues) {
    		console.log(venues);
    	})
      .catch(function(err){
        console.log(err);
      });
```

## Features

#### Venues (` /venues `)

API Documentation: [Venues API](https://developer.foursquare.com/docs/venues/venues)

Implemented Methods: [see wrapper](https://github.com/lwhiteley/react-native-foursquare-api/blob/master/lib/api/venues.js)


## Notes
- Pull requests are welcome
- Only venues feature (mostly) built out so far

### Useful Link
- [https://developer.foursquare.com/overview/versioning](https://developer.foursquare.com/overview/versioning)

License: MIT

---
_Source: https://npm.io/package/react-native-foursquare-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
