API call on Wix Live streaming key generation - automation

I am new to Wix and trying to generate a Live streaming key programmatically. What I want to do is: when one user clicks the "start streaming" button on the WIX website, then generate the live streaming key and send it back via email. Is it possible to generate a key using WIX API calls? Any hints are appreciated. Thank you in advance.

There does not seem to be an API for this yet.

Related

Rally integration with SharePoint

Is it possible to get rally data to SharePoint online list by doing a Rest API call or is there a way to integrate rally to SharePoint.
Please let me know the available option
One option is to write a custom app, create an API Key and embed it into sharepoint via an iFrame.
More details can be found in the SDK Docs: https://rally1.rallydev.com/docs/en-us/saas/apps/2.1/doc/index.html#!/guide/embedding_apps-section-develop-the-app
Edit: I should note that you need to find a way to obscure the apiKey from users. The apiKey should only have read access and should be completely hidden

Can others see the source code of my file?

I am just testing an API that allows me to get the price of some cryptocurrencies, I wrote a express app and put it on Heroku. An API key is used, and I was wondering, if I were to make this link public, can someone easily steal the API key from the source or is that inaccessible?
https://obscure-coast-63470.herokuapp.com/acs
This is the link, I wanted to know if a hacker can get my API key from the source.
Thanks for the help.

Using Google Developer API keys in distributed applications

I was looking at the Google Fonts Developer API, where you can programatically query the Google Fonts catalog and get some JSON results. You have to get a an API key through Google to use it.
I want to create an extension/plugin for a text editor where you can query the Google Fonts catalog using this API. I would plan on distributing this plugin for anyone to use.
However, in order for it work, I obviously have to sign up for an API key and include that in the code for the plugin so it gets distributed also.
I know that API keys like this as not secret passwords or anything like that, but should they be distributed like this? If one was to build something like this, this seems like the only way to do it.
What happens if someday my own Google account is compromised? What if I need to refresh the API key for some random reason, etc? Then all those users of the plugin would be out of luck since the plugin is using an old key.
What is the best approach to this type of problem? I was planning on having the API key to be "editable" in the plugin so that one could use their own key if they wished, but I don't want that to be a requirement because it just creates a higher barrier to entry.

How to delete an image on Imageshack using its API

I'm trying to use the Imageshack api to delete an image uploaded to my account.
I have successfully managed to upload an image to it using the API.
https://www.imageshack.us/upload_api.php?url=[URL_OF_THE_IMAGE]&key=[MY_KEY]
I can delete the image uploaded by using the standard interface.
Any solution using the API?
I have managed it by doing the following:
First log in to get an auth_token:
HTTP POST
https://api.imageshack.us/v1/user/login?username=YOUR_USERNAME&password=YOUR_PASSWORD
Parse "auth_token" from the response
Then delete:
HTTP DELETE
https://api.imageshack.us/v1/images/SERVER/FILENAME?auth_token=AUTHTOKEN
In addition to AUTHTOKEN you need include SERVER and FILENAME, I store these from files.server and files.image.filename that come back in the response to the upload API call.
Jamie Clark's solution is what you need, using the proper v1 api. Your sample script is still using the posting methodology from their older API as described here. That one doesn't expose any deletion methods. What Jamie is describing is the API as it is currently, documented here. It's not clear if the API keys are the same, but I'm guessing no - my new one doesn't seem to work with this old call and the link from that google code page for requesting an API key is defunct.

Get Notified when a file changes on dropbox

Does dropbox have a way of notifying when a file changes i.e arrival of new uploads or a file has changed.
Though you will still have to poll, there's a relatively new API endpoint called /delta that will let you poll much more efficiently than the /metadata endpoint.
It's better than using the RSS feed.
As Kannan points out, there's a new API endpoint called /delta that's better than polling or RSS.
This can also be used in conjunction with the /longpoll_delta API endpoint :
A long-poll endpoint to wait for changes on an account. In conjunction
with /delta, this call gives you a low-latency way to monitor an account
for file changes.
This delta API can be called to get sync
http://forums.dropbox.com/topic.php?id=53533
Dropbox now officially offers Webhooks https://www.dropbox.com/developers/blog/90/announcing-dropbox-webhooks
Dropbox recently announced WebHooks!
If you're interested in helping us out, just click through to fill out
your information, and we'll be in touch:
Happy Dropboxing!
Though Dropbox's delta API is used to get a list of all the modified file details, a webhook is what one needs to get notified about a change (change being modification, addition or deletion of a file)
Go to: Dropbox Developer App Console
Click on your App that contains the files whose changes you want to be notified.
Scroll down to "WEBHOOK"
Paste the link that will handle the notifications via POST method.
Click ENABLE.
Moment you click enable, the dropbox sends a request to the link you entered to see if it responds to the GET request or not. You need to make sure that the link does respond to it. If working with Python and Flask frame work, following two lines of code is sufficient:
#app.route('/webhook', methods=['GET'])
def verify():
'''Respond to the webhook verification (GET request) by echoing back the challenge parameter.'''
return request.args.get('challenge')
Now you will be notified via POST to the above link every time a change is made to dropbox.
Deal with the notifications the way you want to. :)
If you have a computer with Dropbox installed that is always on, you can set a script to run whenever Dropbox pops up a change notification. That script could then grab the change log using RSS (or the /delta API) and if the file/directory you're interested has changed, send a notification.
On Mac, Dropbox can send notifications to Growl and you can tell Growl to run your script. On Windows you will need to monitor for Notifications in the system tray using something like gTraySpy. Growl for Windows can do this if you install the Windows Balloons plugin.
As long as you can get a script to run when a change has occurred, it's just a matter of parsing the change log and performing an action when certain item(s) have changed.
Dropbox has a new long polling endpoint for deltas:
https://www.dropbox.com/developers/blog/63/low-latency-notification-of-dropbox-file-changes
Dropbox SYNC API is the way to go
DBPath *path = [DBPath root];
[fileSystem addObserver:self forPathAndChildren:path block:^() {
NSLog(#"something changed in your dropbox folder!");
}];