Skip to content

GDG-ASU/helper-apis

Repository files navigation

GDSC Helper APIs

GoDoc Go Report Card rex-deployment

Some APIs used for testing purposes.

TODO:

Add more readme


Usage:

GET https://apis.gdscasu.com/quote

An endpoint that returns quote and who said it, from a pre defined list.

Sample response:

{
  "text": "Great ideas often receive violent opposition from mediocre minds.",
  "author": "Albert Einstein"
}

GET https://apis.gdscasu.com/image

An endpoint that returns quote and who said it, from a pre defined list.

Query parameters:

  • count (optional): specifies the number of returned images' paths.
  • orientation (default is landscape): specifies the orientation of the returned image(s).

Sample response:

{
  "image": ["/files/images/landscape1.jpg"]
}