Simple search for organisations participating/participated in the GSoC
A simple search for organisations participating/participated in Google Summer Of Code from 2009.
When choosing a organisation for the GSoC, it becomes very cumbersome to manually check if the organisation is taking part each year or is it new, number of selected candidates each year and other details. So, with this project I am trying to minimise the manual labor in finding the information about a particular organisation.
git clone https://github.com/dojutsu-user/GSoC-Data-Analyser.git
backend
folder: cd GSoC-Data-Analyser/website/backend/
pipenv install
pipenv shell
migrate
command: python manage.py migrate
python manage.py runserver
frontend
folder: cd GSoC-Data-Analyser/website/frontend/
npm install
npm start
BASE URL: https://gsoc-analyzer.herokuapp.com/api/v1
Returns the data about the GSoC from year 2009-2018.
URL
/overview/gsoc
METHOD
GET
Success Response:
{
"2015":{
"no_of_orgs":134,
"no_of_projects":917
},
"2014":{
"no_of_orgs":187,
"no_of_projects":1173
},
"2013":{
"no_of_orgs":172,
"no_of_projects":1060
},
"2012":{
"no_of_orgs":179,
"no_of_projects":1073
},
"2011":{
"no_of_orgs":173,
"no_of_projects":988
},
"2010":{
"no_of_orgs":151,
"no_of_projects":917
},
"2009":{
"no_of_orgs":150,
"no_of_projects":858
},
"2018":{
"no_of_orgs":212,
"no_of_projects":1071
},
"2017":{
"no_of_orgs":201,
"no_of_projects":1127
},
"2016":{
"no_of_orgs":178,
"no_of_projects":1032
},
"total_orgs":1737,
"total_projects":10216
}
Returns the organisations names with their slug
URL
/search?q=QUERY
METHOD
GET
Search Params
Required:
q=[string]
Success Response:
{ORG_NAME: ORG_SUG}
Error Response
q
is not present:
{'error': 'Search query is required'}
{'error': 'No Results Found', 'query': QUERY}
Example:
{"Django Software Foundation":"django-software-foundation"}
Returns the information about a particular organisation
URL
/org/:slug
Method
GET
URL Params:
Required:
slug=[string]
, represents the slug of a organisation.
Success Response:
{
"org_name": ORGANISATION_FULL_NAME,
"slug": organisation-slug
"years_of_participation": [
"2017",
"2018"
],
"projects_each_year": {
"2017": 3,
"2018" 1
}
Error Response:
{'error': 'No Organisation Found.'}
Returns the total organisations participated and total projects completed in a particular year from 2009-2018.
URL
/overview/:year
METHOD
GET
URL Params:
Required:
year=[integer]
, year must lie between 2009-2018
Success Response:
{"total_orgs_participated":212,"total_projects_done":1071}
Error Response:
{'error': 'Data not found for the year 2000'
Example:
{"total_orgs_participated":201,"total_projects_done":1127}