Code Monkey home page Code Monkey logo

braziljs-api's Introduction

BrazilJS APIs

A BrazilJS possui uma API que te permite consultar algumas informações relevantes por meio de requisições GET.

Endereço

Para usar a API, utilize o endereço:

https://braziljs.org/api/[command]

Onde [command] pode ser um dos serviços listados abaixo:

Eventos

Comando: list/events
Variáveis: fromNow
Retorno: Um JSON com a lista de eventos do ano atual.
Caso a variável fromNow seja enviada com valor 1, trará apenas eventos a partir da data atual.

Exemplo:

https://braziljs.org/api/list/events?fromNow=1

Artigos

Comando: list/articles
Variáveis: N/A
Retorno: Um JSON contendo a lista dos últimos 10 artigos.

Patrocinadores

Comando: list/sponsors
Variáveis: eventId
Retorno: Um JSON com a lista de patrocinadores do programa de afiliados BrazilJS.
Caso a ID de algum evento seja enviada, retorna apenas os patrocinadores para aquele evento.

Exemplo:

https://braziljs.org/api/list/sponsors?eventId=56979ef67dd947993c745f26

Retornará um json com a lista de patrocinadores do evento BrazilJS 2016.

braziljs-api's People

Contributors

felipenmoura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

braziljs-api's Issues

Absolute path for resources

The response from the API for resources like images are currently relative.
Ex: image: "/images/cms/b20b5600ffb87880f654dd880755f2f4.jpg"
I think it'd be better if it was returned with the absolute path.
Ex: image: "https://braziljs.org/images/cms/b20b5600ffb87880f654dd880755f2f4.jpg"

//cc @felipenmoura

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.