Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirill-konshin/adobe-portfolio-to-airtable
Small CLI script that can export all
https://github.com/kirill-konshin/adobe-portfolio-to-airtable
Last synced: 16 days ago
JSON representation
Small CLI script that can export all
- Host: GitHub
- URL: https://github.com/kirill-konshin/adobe-portfolio-to-airtable
- Owner: kirill-konshin
- Created: 2020-05-30T00:16:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T08:04:11.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T11:39:20.576Z (about 1 month ago)
- Language: JavaScript
- Size: 462 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Adobe Portfolio To AirTable
===========================Usage:
```bash
$ git clone https://github.com/kirill-konshin/adobe-portfolio-to-airtable
```Once done create an `.env` file:
```dotenv
PORTFOLIO_TOKEN=XXX
PORTFOLIO_SITE_ID=XXX
AIRTABLE_API_KEY=XXX
AIRTABLE_API_DB=XXX
AIRTABLE_API_TABLE=XXX
```You can look up `PORTFOLIO_TOKEN` and `PORTFOLIO_SITE_ID` in Network tab in Chrome, look in Headers section, just pick any of the XHR requests while navigating through admin part of Adobe Portfolio. I haven't found a better way to obtain credentials.
Make sure your AirTable has following fields: `Name`, `Date`, `Images`, `FeaturedImage` and `PortfolioID`. These values are hardcoded for now...
Once you've created the `.env` file you can perform sync:
```bash
$ yarn install
$ yarn start
```You can update individual Page:
```bash
yarn start --id=XXX
```All CLI options:
```
--help Show help [boolean]
--version Show version number [boolean]
--id ID of Adobe Portfolio page [string]
--debug Dump Adobe Portfolio JSON responses locally [boolean]
--saveImagesToFS Download JPGs locally (needs debug on) [boolean]
```