|
Code examples for address buttons |
|
This button will send an address to a TomTom device via HOME. <A href="http://addto.tomtom.com/api/home/v2/address?action=add&apikey=YourAPIkey&name=TomTom&country=NL&city=Amsterdam&street=Rembrandtplein&number=35"><IMG alt=Add-To-TomTom src="http://addto.tomtom.com/api/images/addtotomtom-button.gif" border=0></A> This button will send an address to a TomTom device via HOME with an attribution logo. <A href="http://addto.tomtom.com/api/home/v2/address?action=add&apikey=YourAPIkey&name=TomTom&country=NL&city=Amsterdam&street=Rembrandtplein&number=35&logo=http%3A%2F%2Faddto.tomtom.com%2Fapi%2Fimages%2Ftomtom-logo_small.gif"><IMG alt=Add-To-TomTom src="http://addto.tomtom.com/api/images/addtotomtom-button.gif" border=0></A> This button will send an address to a TomTom device via HOME with an attribution name. <A href="http://addto.tomtom.com/api/home/v2/address?action=add&apikey=YourAPIkey&name=TomTom&country=NL&city=Amsterdam&street=Rembrandtplein&number=35&attribution=TomTom"><IMG alt=Add-To-TomTom src="http://addto.tomtom.com/api/images/addtotomtom-button.gif" border=0></A> This button will send an address to a TomTom device via HOME with an attribution name and logo. <A href="http://addto.tomtom.com/api/home/v2/address?action=add&apikey=YourAPIkey&name=TomTom&country=NL&city=Amsterdam&street=Rembrandtplein&number=35&attribution=TomTom&logo=http%3A%2F%2Faddto.tomtom.com%2Fapi%2Fimages%2Ftomtom-logo_small.gif"><IMG alt=Add-To-TomTom src="http://addto.tomtom.com/api/images/addtotomtom-button.gif" border=0></A> This button will demonstrated what happens if a method is called without an API key, with an invalid API key or with missing parameters. <A href="http://addto.tomtom.com/api/home/v2/address?action=add&name=TomTom&country=NL&city=Amsterdam&street=Rembrandtplein&number=35"><IMG alt=Add-To-TomTom src="http://addto.tomtom.com/api/images/addtotomtom-button.gif" border=0></A> Next step: Once you have added the button to your website and tested it, you've finished! |