Code examples for address buttons

Print 

This button will send an address to a TomTom device via HOME.

<A href="http://addto.tomtom.com/api/home/v2/address?action=add&amp;apikey=YourAPIkey&amp;name=TomTom&amp;country=NL&amp;city=Amsterdam&amp;street=Rembrandtplein&amp;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&amp;apikey=YourAPIkey&amp;name=TomTom&amp;country=NL&amp;city=Amsterdam&amp;street=Rembrandtplein&amp;number=35&amp;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&amp;apikey=YourAPIkey&amp;name=TomTom&amp;country=NL&amp;city=Amsterdam&amp;street=Rembrandtplein&amp;number=35&amp;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&amp;apikey=YourAPIkey&amp;name=TomTom&amp;country=NL&amp;city=Amsterdam&amp;street=Rembrandtplein&amp;number=35&amp;attribution=TomTom&amp;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&amp;name=TomTom&amp;country=NL&amp;city=Amsterdam&amp;street=Rembrandtplein&amp;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!