Metadata-Version: 2.1
Name: spotfirepill
Version: 0.15
Summary: This will use spotfire REST API end points to login & execute the jobs
Home-page: https://github.com/tagnev/spotfirepill
Author: Vengat
Author-email: tagnev.vengat@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

Using Spotfire class. Create the object to instantiate the spotfire class.
And then login using "Client Id" & "Client Secret" to execute the jobs & check the status.



Example
-------

pip install spotfirepill

import spotfirepill as spt
spot_fire_instance = spt.SpotFire(base_url,client_id,client_secret)
spot_fire_instance.login()


# Execute the Job
spot_fire_instance.start_library('{job_id}')
it returns job execution id

#Get the Status

spot_fire_instance.get_status('{job execution id}')

