CodeForPhilly / CodeForPhilly/MATchMapper

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

未关闭
#13 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
7
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

先解决 issue #11 中的决策,然后检查导入流程涉及的抓取脚本、Django API 函数和 ORM 模型。完成的标准是,所选的请求路径能够将 scraper JSON 转换为 Django 模型并持久化,同时处理 provider 和 site 的更新,且不存在尚未解决的实体顺序问题。

由索引模型根据 Issue 内容生成。

评估

技术栈
django, python
领域
api, backend, databases
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。