Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zapish get API token in first steps #3

Open
itkroplis opened this issue Jan 12, 2020 · 1 comment
Open

zapish get API token in first steps #3

itkroplis opened this issue Jan 12, 2020 · 1 comment

Comments

@itkroplis
Copy link

Hi!

I want to get API token in first steps for remote system. In the second step use token from first steps. With zapish is it possible? Please give example.

@kloczek
Copy link
Owner

kloczek commented Jan 12, 2020

Yes it is.

if you will include zapish.inc in your script it will call automatically function which will try to read auth token from ~/.zapish.rc. If that file does not exist it will do authentication and store obtained token in that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants