Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To get poll results, there is an endpoint url which will give the results in json format. The endpoint is:

https://polling.bannisterlake.com/api/votes/<poll guid>/?apikey=jdfX4aU3BJefSHKQ

As an example, here is an example:

https://polling.bannisterlake.com/api/votes/0313acb0-10d9-4a0f-b3a7-fd75f695124f?apikey=jdfX4aU3BJefSHKQ

If you need the results in Chameleon, you can run a reader which reads the results endpoint and populates Chameleon. The reader is called Polls Reader and it would normally be installed on the Chameleon server. Always best to get results from the polls endpoint if possible but if you need the results for a ticker, the reader will need to be used.