Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/tylerconlee/zendesk-holiday-creator

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tylerconlee/zendesk-holiday-creator

  • v0.0.0-20200625185621-37d113883edb
  • Source
  • Go
  • Socket score

Version published
Created
Source

zendesk-holiday-creator

Bulk creates Zendesk holidays for schedules

Use

Clone this repository and run go build. To run, ensure that holidays.txt is up to date with a comma separated list of all of the holidays to be added. In your command line, run:

./zendesk-holiday-updater -url="<ZENDESK-SUBDOMAIN>" -id="<SCHEDULE-ID>" -user="<ZENDESK-API-USER>" -key="<ZENDESK-API-KEY>"

You should then see the results of each holiday logged in your terminal.

&{POST https://<SUBDOMAIN>.zendesk.com/api/v2/business_hours/schedules/401068/holidays.json HTTP/1.1 1 1 map[] {{"holiday": {"name": "[ALL] New Years Eve", "start_date": "2020-12-31", "end_date": "2020-12-31"}}} 0x123d570 98 [] false circleci1504710777.zendesk.com map[] map[] <nil> map[]   <nil> <nil> <nil> 0xc0000ac050}
201 Created%                                

A sample holidays.txt has been provided with a list of holidays for US, UK, Ireland and Japan for 2020.

FAQs

Package last updated on 25 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc