0

I am fetching github's api to display my projects. I got titles, descriptions, links but I do not know if there is possibility to get an image from readme.md or from other place? I need it to display next to titles and descriptions. In github repo I have it in dir src/images/image_1 etc.

ojciecpio96
  • 28
  • 1
  • 4

1 Answers1

5

Hellow brow, the way is

https://raw.githubusercontent.com/UserName/NameRepo/Branch/NameImg.png

The UserName is the name of the owner of the repository, NameRepo is the name of the repository, Branch is the branch of git, there may be several, but the default is master, NameImg is the name of the image and must also be with the expansion.