AdamXweb/HuTasker

Migrate AirTasker API GET to Hugo

Closed this issue · 0 comments

Accessing the API directly doesn't need a workaround of saving to a CSV and transforming it back to a JSON. (sort of redundant)

This process was originally created to save the data as a CSV to be able to import into Excel easily as a requirement for a previous project.

This could be implemented in so many different ways, each having pros and cons.

  1. Current method:
    Allows the data to be downloaded to a json which could then create the pages needed at build. It uses extra dependencies with python, meaning not as integrated.
  2. Integrating with Hugo
    Until Hugo allows for dynamic page creation, this would need to be fetched at some stage, either prior to a build (get the json and save it to a scratch set), with each page or by another method i'm not aware of.
  3. Converting Python package to JS
    A way to reduce the amount of knowledge needed in order to troubleshoot.