dial-a-dpla
hi!
I spent a short amount of time with Twilio
Twilio allows you to make and receive phone calls, and send and receive SMS messages
using REST (yay!)
Twilio's not new to Code4lib
Mike Beccaria's C4LJ article
Twilio can be fun.
Dial-A-DPLA provides access to sound items in DPLA.
Live demo (eek!)
+1 704 288-DPLA (3752)
50 line Python app
Does search against DPLA API
Serves up XML in TwiML consumed by Twilio.
Handles POST requests.
<Response>
  <Say>Welcome to Dial a D P L A!</Say>
  <Gather action="lookup" method="POST" numDigits="4">
    <Say>Please enter a four digit year followed by the pound key.</Say>
  </Gather>
</Response>
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Say>You are about to listen to: Sullivan in Germany.</Say>
  <Say>This item is from University of Kentucky.</Say>
  <Play>http://[redacted].mp3</Play>
</Response>
Thanks!
@anarchivist
github.com/anarchivist/dial-a-dpla