Skip to content

ayrshare/hurl-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ayrshare Social API Hurl Scripts

Test Ayrshare's social media APIs using HURL scripts. Including testing posting images, videos, and getting analytics.

Learn more about how to run Hurl scripts.

Update Env Vars

Update the vars.env with your keys.

  • Add your API Key from the Ayrshare Dashboard
  • If a Business Plan, add your Profile Key
  • If a Business Plan and testing generateJWT endpoint add your private key as a Base64 string. Please see below.
  • Add your email address
  • Add your Ref Id

Run Commands

  • hurl --test --very-verbose --variables-file vars-dev.env analytics_social.hurl post_flow.hurl user.hurl
  • hurl --test --variables-file vars-dev.env analytics_social.hurl post_flow.hurl user.hurl
  • hurl --test --interactive --variables-file vars-prod.env post_video_flow.hurl

Quick Run Scripts

  • script.bash

Convert Private.key to Base64

cat private.key | base64

Hurl Website

Hurl Website

Releases

No releases published

Packages

No packages published

Languages