Skip to content

Write the Django API functions to handle the requests to import data from the scraping scripts #13

Description

@shi-jie-samuel-tan

Depending on the decision for issue #11, the Django API functions will work differently. If we have decided to not do a .exe file, we can just create one HTTP request function to initialize scraping and channeling the output from the scrapes directly into our database with Django's ORM model. If we decide to use a .exe file, we probably have to create multiple API functions to handle the output from the scraping differently depending on which source we scraped them from. ** The key idea behind the functions is to convert the json data into the django models before sending them into the database. We might include some logic behind how we will update key entities like providers and sites to solve the chicken-egg problems

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions