Bloomberg Open API

Since the data is not free, you can use this Bloomberg API Emulator (disclaimer: it’s my project) to learn how to send requests and make subscriptions. This emulator looks and acts just like the real Bloomberg API, although it doesn’t return real data. In my time developing applications that use the Bloomberg API, I rarely … Read more

How do I download a file or photo that was sent to my Telegram bot?

This is now available! https://core.telegram.org/bots/api#getfile Hooray! It was added on Sep 18th (2015): https://core.telegram.org/bots/api Usage: In the JSON of the message you will receive a file_id as before. An example of a message object with a voice file: { message_id: 2675, from: { id: 10000001, first_name: ‘john’, username: ‘john’ }, chat: { id: 10000001, first_name: … Read more

Is there a movie showtime api? [closed]

when “allow_url_fopen” is disabled then use <?php /** * Google Showtime grabber * * This file will grab the last showtimes of theatres nearby your zipcode. * Please make the URL your own! You can also add parameters to this URL: * &date=0|1|2|3 => today|1 day|2 days|etc.. * &start=10 gets the second page etc… * … Read more

Using cURL for API automation in Karate

Think of the Karate syntax as very close to JavaScript. So, string concatenation works. For example: * def myUrl=”https://httpbin.org/anything” * def result = karate.exec(‘curl ‘ + myUrl) And a nice thing is that JavaScript Template Literals work: * def myUrl=”https://httpbin.org/anything” * def result = karate.exec(`curl ${myUrl}`) Also note that the karate.exec() API takes an array … Read more