You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update README.md
Updated the readme to:
- Match the Python and Go client libraries
- Link to the example code snippets
- Provide more examples
* Update README.md
Updated header text and first example.
The official JS client library for the [Polygon](https://polygon.io/) REST and WebSocket API. Explore the [REST API](https://polygon.io/docs/stocks/getting-started) documentation and many example [code snippets](./examples/). Please see the [Release Notes](./CHANGELOG.md) for instructions on upgrading. To generate the package documentation please run `npm run generate-doc`.
6
6
7
-
See the [Release Notes](./CHANGELOG.md) for instructions on upgrading to Version 7.
7
+
## Getting the client
8
8
9
-
## Install
9
+
To get started, you'll need to install the client library:
10
10
11
11
```bash
12
12
npm install --save @polygon.io/client-js
13
13
```
14
14
15
-
## usage
15
+
Next, create a new client with your [API key](https://polygon.io/dashboard/signup).
16
16
17
-
### Authentication
18
-
19
-
- call the desired client with your api key to initialize it
Users of the Launchpad product will need to pass in certain headers in order to make API requests. Example can be found [here](./examples/rest/launchpad/README.md).
60
67
61
-
You can get preauthenticated [websocket clients](https://www.npmjs.com/package/websocket) for the 3 topics.
Import the [Websocket](https://polygon.io/docs/stocks/ws_getting-started) client and models packages to get started. You can get preauthenticated [websocket clients](https://www.npmjs.com/package/websocket) for the 3 topics.
See [full examples](./examples/websocket/) for more details on how to use this client effectively.
85
94
86
-
### documentation
95
+
##Contributing
87
96
88
-
- Generate the package documentation
89
-
90
-
```bash
91
-
npm run generate-doc
92
-
```
97
+
If you found a bug or have an idea for a new feature, please first discuss it with us by [submitting a new issue](https://github.com/polygon-io/client-js/issues/new/choose). We will respond to issues within at most 3 weeks. We're also open to volunteers if you want to submit a PR for any open issues but please discuss it with us beforehand. PRs that aren't linked to an existing issue or discussed with us ahead of time will generally be declined. If you have more general feedback or want to discuss using this client with other users, feel free to reach out on our [Slack channel](https://polygon-io.slack.com/archives/C03FCSBSAFL).
0 commit comments