<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2475" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Post Topic &#187; Tag: API - Recent Topics</title>
		<link>http://posttopic.com/tags/api</link>
		<description>Open For Discussion</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Sep 2010 20:12:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2475</generator>
				<atom:link href="http://posttopic.com/rss/tags/api/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>Chad Smith on "Google Voice Add-on Development"</title>
			<link>http://posttopic.com/topic/google-voice-add-on-development#post-27</link>
			<pubDate>Thu, 12 Mar 2009 17:22:38 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">27@http://posttopic.com/</guid>
			<description><![CDATA[A few people have already asked me how to place calls or send SMS messages using Google Voice via HTTP or XML request. It is pretty much the same way as in GrandCentral, except some of the addresses have changed.<br />
<br />
Here is what I use in my <a href="http://thatsmith.com/2009/03/google-voice-add-on-for-firefox/">Google Voice Firefox addon</a>:<br />
<br />
<strong>Logging in:</strong><br />
Google's <a href="http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html">ClientLogin API</a><br />
POST /accounts/ClientLogin accountType=GOOGLE&#038;Email=[google account]&#038;Passwd=[google password]&#038;service=grandcentral&#038;source=[your app name]<br />
<br />
This will return an error or set of authorization tokens. Save the Auth token and send it back with each request.<br />
<br />
<strong>Placing Calls:</strong><br />
POST /voice/call/connect/ outgoingNumber=[number to call]&#038;forwardingNumber=[forwarding number]&#038;subscriberNumber=undefined&#038;phoneType=[phone type]&#038;remember=0&#038;_rnr_se=[pull from page]<br />
<br />
<strong>Phone Types:</strong><br />
1) Home<br />
2) Mobile<br />
3) Work<br />
7) Gizmo<br />
<br />
<strong>Canceling Calls:</strong><br />
POST /voice/call/cancel/ outgoingNumber=undefined&#038;forwardingNumber=undefined&#038;cancelType=C2C&#038;_rnr_se=[pull from page]<br />
<br />
<strong>Sending an SMS:</strong><br />
POST /voice/sms/send/ id=&#038;phoneNumber=[number to text]&#038;text=[URL Encoded message]&#038;_rnr_se=[pull from page]<br />
<br />
<strong>Inbox XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/inbox/" rel="nofollow">https://www.google.com/voice/inbox/recent/inbox/</a><br />
<br />
<strong>Starred Calls XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/starred/" rel="nofollow">https://www.google.com/voice/inbox/recent/starred/</a><br />
<br />
<strong>All Calls XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/all/" rel="nofollow">https://www.google.com/voice/inbox/recent/all/</a><br />
<br />
<strong>Spam XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/spam/" rel="nofollow">https://www.google.com/voice/inbox/recent/spam/</a><br />
<br />
<strong>Trash XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/trash/" rel="nofollow">https://www.google.com/voice/inbox/recent/trash/</a><br />
<br />
<strong>Voicemail XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/voicemail/" rel="nofollow">https://www.google.com/voice/inbox/recent/voicemail/</a><br />
<br />
<strong>SMS XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/sms/" rel="nofollow">https://www.google.com/voice/inbox/recent/sms/</a><br />
<br />
<strong>Recorded Calls XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/recorded/" rel="nofollow">https://www.google.com/voice/inbox/recent/recorded/</a><br />
<br />
<strong>Placed Calls XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/placed/" rel="nofollow">https://www.google.com/voice/inbox/recent/placed/</a><br />
<br />
<strong>Received Calls XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/received/" rel="nofollow">https://www.google.com/voice/inbox/recent/received/</a><br />
<br />
<strong>Missed Calls XML:</strong><br />
<a href="https://www.google.com/voice/inbox/recent/missed/" rel="nofollow">https://www.google.com/voice/inbox/recent/missed/</a><br />
<br />
<strong>XML Pagination:</strong><br />
?page=p2<br />
?page=p3<br />
etc..<br />
<br />
<strong>Downloading a Voice Message:</strong><br />
<a href="https://www.google.com/voice/media/send_voicemail/">https://www.google.com/voice/media/send_voicemail/</a>[message id]<br />
<br />
<strong>Deleting a Voice Message:</strong><br />
POST /voice/inbox/deleteMessages/ messages=[message id]&#038;trash=1&#038;_rnr_se=[pull from page]<br />
<br />
<strong>Mark a message as read:</strong><br />
POST /voice/inbox/mark/ messages=[message id]&#038;read=1&#038;_rnr_se=[pull from page]<br />
<br />
<strong>Mark a message as unread:</strong><br />
POST /voice/inbox/mark/ messages=[message id]&#038;read=0&#038;_rnr_se=[pull from page]<br />
<br />
<strong>Voicemail Transcript Timing:</strong><br />
<a href="https://www.google.com/voice/media/transcriptWords?id=">https://www.google.com/voice/media/transcriptWords?id=</a>[message id]]]></description>
					</item>
		<item>
			<title>Chad Smith on "Good Karaoke API"</title>
			<link>http://posttopic.com/topic/good-karaoke-api#post-109</link>
			<pubDate>Sat, 27 Jun 2009 11:02:28 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">109@http://posttopic.com/</guid>
			<description><![CDATA[Alright, so it's not so much of an API, but it does a similar thing as #<a href="http://ksstorms.com/">ksstorms</a> and has actually been around for a few more years.<br />
<br />
<a href="http://goodkaraoke.com/">Good Karaoke</a> is a service / company I started that gives karaoke DJs a fancy way to display their song lists online and is instantly searchable. The domain name also happens to get me a ton of search traffic and ad revenue.<br />
<br />
The API &#038; service is free and was recently rewritten to make it faster and give it a smaller footprint.<br />
<br />
Here is what it looks like un-styled:<br />
<br />
<script type="text/javascript" src="http://goodkaraoke.com/karaoke.js"></script>
<script type="text/javascript">try{gk.list('e58XtujhKQ2BPO1QUnOe4l9y0B0BLqJQ')}catch(e){}</script>
<br />
Songs can be e-mailed to me or submitted through the site. Song lists are then delivered to websites via JavaScript in the following manner:<br />
<br />
&#60;script type=&#34;text/javascript&#34; src=&#34;http://goodkaraoke.com/karaoke.js&#34;&#62;&#60;/script&#62;<br />
&#60;script type=&#34;text/javascript&#34;&#62;try{gk.list('random string')}catch(e){}&#60;/script&#62;<br />
<br />
I originally intended on making the site into a social network for karaoke singers, but ultimately decided against it due to time requirements and other opportunities.  Instead, <a href="http://openmikemusic.com">Open Mike Music</a> - Wichita will soon be re-branded as <a href="http://goodkaraoke.com">Good Karaoke</a>, but the web service will still be offered.<br />
<br />
Open Mike Music is currently the #1 DJ service and karaoke company in Kansas City and Wichita.]]></description>
					</item>

	</channel>
</rss>
