Skip to content

SungJunEun/Random_Woof_Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Woof Generator

new random woofs every day!

Summary

Returns url of image randomly from subreddits sorted by new

  • This project started from modifying fetchSamoyeds into my taste
  • Main purpose of the project is to get new fresh dog pictures, but I guess it can be used in any subreddits, not only dogs!
  • demo webiste

from 2021.08.18 - 19.


Tech

  • Javascript
  • node.js

Prerequisites

  • npm

    npm install node-fetch  
    

Key Features

  • get URL of image

    • fetch JSON from the subreddits sorted by new (reddit API document)
    • generateRandomInteger function for random objects
    • post_hint attribute helped me to determine whether the post is only image or not

ezgif com-gif-maker (6)

About

Return URL of random image from doggo subreddits sorted by new

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •