Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crear endpoints para consultar las distintas ciudad de colombia con grupos python en meetup.com #2

Open
jhonjairoroa87 opened this issue Jul 11, 2018 · 1 comment

Comments

@jhonjairoroa87
Copy link
Collaborator

jhonjairoroa87 commented Jul 11, 2018

Se desea crear 2 endpoint que retorne las distintas ciudades y la cantidad de seguidores de los distintos grupos de meetup.com en colombia y laltinoamerica:

GET /colombia_groups

BODY response:

[
       {
		"city": "Bogotá",
                "name": "Python y Django Bogotá",
		"members": 2300
	},
	{
		"city": "Medellin",
                "name": "Python Medellin",
		"members": 2400
	},
	{
		"city": "Bucaramanga",
                "name": "Python Bucaramanga",
		"members": 800
	}
]

GET /latinamerica_groups

BODY response:

[
       {
		"country": "Colombia",
		"members": 10000
	},
	{
		"country": "Perú",
		"members": 15000
	},
	{
		"country": "Brasil",
		"members": 30000
	}
]

@goanpeca
Copy link
Member

goanpeca commented Jul 11, 2018

Para hacer este api les sugiero darle una mirada a https://github.com/encode/apistar o bueno si se sienten más cómodos con Flask o con Django + DRF

sugiero tener algo como

/api/v1/meetup/groups/<group-name>
/api/v1/meetup/groups

Donde el payload incluya algún filtro (o directamente con parametros get)

/api/v1/meetup/groups?location=<location>

Similar para las demás cosas como facebook

/api/v1/facebook/groups/group-id
/api/v1/facebook/pages/page-id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants