Below is a csv file where you can find a list of all teams and their unique id. All you have to do is save this file to the database and use this id when calling the team logo. 3 different sizes are also available for logos. You can specify this in the parameters.
You can use api link in img tag or background-img of any html elements.
API Link : https://sportteamslogo.com/api?key=[key]&size=[size]&tid=[team_id]
You must specify a domain for your key. You can change your domain on your dashboard. Please write your domain like "domain.com". Don't use http or https, and any subfolder. Use 'mobileapp' as a domain name for mobile applications.
<img src="/api?key=9c2a8f30aff64ce0a9e5a2b4f5827d31&size=small&tid=234888"/>
<img src="/api?key=9c2a8f30aff64ce0a9e5a2b4f5827d31&size=medium&tid=234888"/>
<img src="/api?key=9c2a8f30aff64ce0a9e5a2b4f5827d31&size=big&tid=234888"/>
<img src="/api?key=9c2a8f30aff64ce0a9e5a2b4f5827d31&size=big&tid=2677"/>
<img src="/api?key=9c2a8f30aff64ce0a9e5a2b4f5827d31&size=big&tid=77889"/>
<img src="/api?key=9c2a8f30aff64ce0a9e5a2b4f5827d31&size=big&tid=77897"/>
© 2014-2019 Sport Teams Logo. All rights reserved | Sport Teams Logos a service of codevine.net