Closed FrancesCoronel closed 5 years ago
Yeah I ran into this locally when initially working on the Github portion. Is there a way for Hugo to fetch API data and build items statically?
I know in GatsbyJS (another static site generator) you can hit and pull data from an API during the build process, but I wasn't sure if Hugo could as well. This could be another route to avoid multiple requests if we fetch the data we need and build it statically. It probably would be easier to do Auth though... albeit probably more fun doing it with Hugo if possible 😄
@benjaminmodayil Apologies for the delay here, I'm not entirely sure but some sleuthing into Hugo's docs would probably be better. Gatsby is much newer than Hugo and has a smaller community so I'd reckon Hugo can do this as well.
@fvcproductions I'll look into this. I always thought Hugo had a smaller community than Gatsby, haha. But I guess that's just because I use Gatsby a lot...
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Auth for API so there's never any rate limit reached
Screenshots
Additional Context
https://developer.github.com/v3/#rate-limiting