Skip to content

UMN-LATIS/z-api-example

Repository files navigation

Example Z-Link API usage

A small reference demo for using the z.umn.edu api to create or update z-links.

Getting Started

Prerequisite: NodeJS

  1. Setup the .env file with your credentials:
# copy .env.example
cp .env.example .env

# add your ACCESS_ID and SECRET_KEY to `.env` 
# you can find them at <https://z.umn.edu/shortener/api_keys>
nano .env
  1. Edit the payload of ./create.js or ./update.js. For the requests to be successful, the keyword needs to be available.

  2. Run ./create.js or ./update.js.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published