# ember-data-arcgis-opendata

> Ember Data model and adapters for the ArcGIS OpenData API

Latest version **0.1.1** (published 2016-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-data-arcgis-opendata
pnpm add ember-data-arcgis-opendata
yarn add ember-data-arcgis-opendata
bun add ember-data-arcgis-opendata
```

## 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.1.1 |
| Published | 2016-05-04 |
| First published | 2016-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dave Bouwman |
| Maintainers | dbouwman |
| Keywords | ember-addon, arcgis, esri, opendata |

## Links

- npm: https://www.npmjs.com/package/ember-data-arcgis-opendata
- npm.io page: https://npm.io/package/ember-data-arcgis-opendata

## Dependencies (1)

- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^5.1.6

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2016-05-04
- 0.1.0 — 2016-04-29
- 0.0.3 — 2016-04-14
- 0.0.2 — 2016-04-11
- 0.0.1 — 2016-04-11

## README

# Ember-Data ArcGIS OpenData

Ember Data model and adapters for the [ArcGIS OpenData API](https://opendata.arcgis.com/api/v2)

## Notes
This is beta software. The intention of this add-on is to enable an application to work with the ArcGIS Open Data api. It is being built incrementally, and does not currently encompass the entire API.

## Usage

Create a project using ember-cli. If you have an existing ember-cli project, skip this step.

```
$ ember new my-new-app
```

Add Torii, the ArcGIS torii provider and this add-on to the project

```
$ ember install torii
$ ember install torii-provider-arcgis
$ ember install ember-data-arcgis-opendata
```

Now edit `/config/environment.js` to add your Torii provider configuration.

```
module.exports = function(environment) {
  var ENV = {

   // ... other ENV config stuff here

   torii:{
      sessionServiceName: 'session',
      providers: {
        'arcgis-oauth-bearer': {
          apiKey: 'APP CLIENT ID GOES HERE',
          portalUrl: 'https://someportal.com' //optional - defaults to https://www.arcgis.com
        }
      }
    }
  };

  return ENV;
};
```

The application will now have access to the following models:

- [Page](https://github.com/ArcGIS/ember-data-arcgis-opendata/blob/master/addon/models/page.js)

The model will automatically be available to the Ember Data store in the consuming application. Please see the [Ember Guides](https://guides.emberjs.com/v2.4.0/models/) for details on how to [find records](https://guides.emberjs.com/v2.4.0/models/finding-records/) or [other operations](https://guides.emberjs.com/v2.4.0/models/creating-updating-and-deleting-records/).

---
_Source: https://npm.io/package/ember-data-arcgis-opendata · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
