Skip to content

Sample Perl code for calling the TourCMS API

License

Notifications You must be signed in to change notification settings

TourCMS/tourcms-pl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample Perl code for the TourCMS API

Proof of concept code handling calling the TourCMS API with a properly formed signature. Sample code includes calling the Search API as either an Operator or Agent.

Instructions

  1. Copy main.pl and tourcms.pm to a directory somewhere
  2. Edit main.pl, entering your TourCMS API credentials into the main sub
  3. Run perl main.pl
  4. The sample code will call the Search API, dump the response and die

Troubleshooting

SSL Warnings

If your Perl environment is not correctly verifying SSL certificates install Mozilla::CA to get the latest Mozilla Certificate Authority bundle, LWP will use it automatically.

About

Sample Perl code for calling the TourCMS API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages