etsy-ts v4.2.0
etsy-ts
Etsy API wrapper written in TypeScript. Includes types for all Etsy API endpoints.
Installation:
npm install etsy-ts --saveyarn add etsy-ts
Etsy API v3
See example in examples/run.ts
Find full API v3 documentation on Etsy.
Breaking changes when migrating from 3.x.x to 4.x.x
- Support for Etsy APIv2 is removed
- All v3 modules are now imported from the root of the package, e.g.
import { Etsy } from 'etsy-ts'instead ofimport { Etsy } from 'etsy-ts/v3' Etsyclass constructor now requiresSecurityDataStorageinstance that implementsISecurityDataStorageinterface. See a sample implementation in examples/v3/SecurityDataStorage.ts.- You should remove the refresh token logic from your code - now that's included within this client
- For methods that require oauth, now you need to pass
etsyUserIdinstead ofaccessToken. This client will useSecurityDataStorageinstance to get, refresh and saveaccessTokenfor the givenetsyUserId.
Credits
Most of the code is generated from Etsy APIv3 Swagger specs, fed to swagger-typescript-api.
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
7 years ago
7 years ago
7 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago