Announcement: The Alexa Skills Community Is Moving To Stack Overflow

For improved usability and experience, Alexa skills related forum support will be transitioned to Stack Overflow. Effective January 10, 2024, the Amazon Developer Forums will no longer be available. For continued Alexa skills support you can reach out to us on Stack Overflow or via Contact Us.

question

April L. Hamilton avatar image
April L. Hamilton asked

Question about Echo apps that leverage existing web sites/services

In the Gallery thread I see a lot of apps that hook into an existing website or service to fetch a response (e.g., 'word of the day' from an online dictionary), and it raises a question about content rights. Example: Let's say there's an existing, free, publicly-available repository of bird calls online at a certain site. Am I correct in thinking it's fine to have the Echo fetch those calls and play them on demand so long as my app is free, but if I'm charging for my app I must either get content use permission from the bird call website, or else create my own database of bird calls and use *that* in my app?
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Greg Crawford avatar image
Greg Crawford answered
Seems to me it depends on the conditions of the site providing the data. If they allow free, non-attributed use of their content then you are probably OK. But I'm guessing this is somewhat rare. Even free use of data usually requires attribution and that could be difficult unless you provided attribution via a card delivered to the Echo App. Also - if you figure out how to play bird calls (or any sounds) via Alexa, please let the community know! :)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

April L. Hamilton avatar image
April L. Hamilton answered
G Crawford - first of all, thanks for pointing me in the direction of AWS Lambda - it rocks! SO much easier than the whole VPS/SSL/node setup. Regarding playing sounds, the bird calls idea is just a hypothetical I came up with off the top of my head, but since the Echo is a speaker that already plays music and Audiobook audio on demand I don't see any reason why it wouldn't be possible to play other supported audio files on demand. I can't say I've looked into it myself, but Javascript has a playSound event that's easy to launch with an onClick event or onMouseover event, so it seems logical the same would be possible with an onIntent event.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Greg Crawford avatar image
Greg Crawford answered
I was being a bit facetious with my comment about the bird sounds. At the moment it seems that Alexa can only be used for "text to speech" by our 3rd party apps and at the moment streaming of audio is not possible. However, it clearly is possible to have the Echo play an audio stream since the native functionality of Alexa does it all the time. Hopefully at some point in the (near!) future this option will be opened to all and the sooner the better :)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick Gardner avatar image
Nick Gardner answered
Hi April, Keep in mind that all the Alexa AppKit Javascript will be running on the remote server side, not the user/client side. Therefore, anything that's not valid JSON back to the service will simply be ignored, so methods like playSound won't do anything. Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

April L. Hamilton avatar image
April L. Hamilton answered
Thanks Nick G, but the sound thing was just an off-the-top-of-the-head example. My main question pertains to rights, and whether rights must be cleared if your app hooks into an outside site/service that's owned by someone else (e.g., 'word of the day' app hooking into dictionary.com).
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bruce avatar image
Bruce answered

I actually had the same question, I've been meaning to ask. Suppose I build a trivia app or a jokes app for specific types of jokes/humor. Assume, I develop without an API, initially. I just hard code what Alexa should say. Let's just use one example, I like humor based on "things actually said in court." Do I need to have Alexa vocalize the source of the content ( "From example.com I found this..." ) or is it ok to simply cite the source on the Alexa App card? That seems to be what I am hearing but I want to be sure.

For the jokes app, I could just have Alexa say, "I found this on Book Name" with further details on the card in the Alexa app. Would that be necessary? My trivia app would rely on multiple sources, so the UX would be less than desirable to have Alexa vocalize each and every website, book or other source.

Thanks,

Bruce

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.