Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/podium/podium-api-sample-contacts
An API request to use our contact endpoints
https://github.com/podium/podium-api-sample-contacts
Last synced: about 1 month ago
JSON representation
An API request to use our contact endpoints
- Host: GitHub
- URL: https://github.com/podium/podium-api-sample-contacts
- Owner: podium
- Created: 2022-06-13T21:01:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T20:28:00.000Z (4 months ago)
- Last Synced: 2024-08-29T22:55:19.700Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 10
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Sample Integration: Contacts Sync
## About the Integration
This repository provides a quick solution that will allow contacts to be sync from a source of truth
to Podium. The integration uses the create contact and get list contacts endpoint.
You can learn more about the contact object by accessing
our API reference docs## Get Started
If it is your first time using Podium API, checkout our Get Started Guide to get your credentials and understand our scope.
## Running Locally
### 1. Get your developer account
In order to make https requests make sure you have a developer account and the following keys:
- ClientId
- ClientSecret
- RefreshToken
### 2. Setup local project
```html
git clone https://github.com/podium/podium-api-demo-contacts.git
cd ~/podium-api-demo-contacts
https://nodejs.org/en/knowledge/HTTP/servers/how-to-create-a-HTTPS-server/
npm install
```
### 3. Set environment variables
```html
REFRESHTOKEN = '' CLIENTID = '' CLIENTSECRET = ''
```
### 4. Run Code
```
node index.js
```
You can use Postman to make requests to the local server.