DEV Community

Discussion on: Detecting DEV peak hours via API (bash study)

Collapse
 
mzaini30 profile image
Zen • Edited

Then, how to get 10 posts from Dev randomly? 😂

Oh. I got idea:

  • Get number of total posts (eg: 1000)
  • Get 10 number randomly from 0 to 1000
Thread Thread
 
rodiongork profile image
Rodion Gorkovenko

Yep. Good idea! Just exactly what is described in this article above :)

Thread Thread
 
mzaini30 profile image
Zen

😂 thanks