Browse topics

Note the summary paragraph and data. Is available in the API…?

Here are for Python:

Python is a dynamically typed programming language designed by Guido van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.

Icons

An easy way to get an icon for a language or library without downloading and searching to use the values supported by GitHub.

This was based on the config section of github/personal-website repo but can also be seen by inspecting an image on a topic page.

Approach

Replace TOPIC with your value - not all topics are available but you can use some common ones.

The ID in the middle of the URL is constant.

  • Pattern:
      https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/TOPIC/TOPIC.png
    
  • Example:
      https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/python/python.png
    

Rendered

Rendered as image tags.

Full size

This is blurry if no max width or height is given.

Python icon

Resized

Using HTML img tag with width and height set.

<img src="https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/python/python.png"
     width="100" height="100"
     alt="python icon" />

python icon

<img src="https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/jekyll/jekyll.png"
     alt="jekyll icon"
     width="100" height="100" />

jekyll icon

<img src="https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/bash/bash.png"
     alt="bash icon"
     width="100" height="100" />

bash icon