Giter Club home page Giter Club logo

suap_api's Introduction

SUAP API RUBY

Em Desenvolvimento

Um wrapper Ruby para acesso a API do SUAP (Sistema Unificado de Administração Publica) do IFMS. Este pacote permite que você tenha acesso aos dados do SUAP na sua aplicação Ruby.

Atualmente fornece informações para:

  • Frequências do dia

Instalação

Adicione a linha abaixo em seu Gemfile e execute o bundle install:

gem 'suap_api'

ou

gem install suap_api

Como usar

Frequências do dia

# Return
# "{\"frequencias_hoje\":[{\"acao\":\"E\",\"horario\":\"2017-06-14T07:14:27\"},{\"acao\":\"S\",\"horario\":\"2017-06-14T11:31:33\"},{\"acao\":\"E\",\"horario\":\"2017-06-14T12:22:32\"}],\"total_tempo_semana\":\"15h 53min 34seg\",\"total_tempo_hoje\":\"07:01:49\"}"
#
connection = SuapApi::Connect.new('SUAPE_VALIDO', 'SENHA')
puts SuapApi::FrequencyOfDay.get(connection)

Desenvolvimento (Como contribuir)

Para ajudar no Desenvolvimento, clone o repositório, instale as dependências e sempre rode os testes para garantir a consistência do sistema.

$ git clone [email protected]:ifms-na/suap_api.git
$ cd suap_api
$ bundle install
$ USER="usuario_siape" PASSWORD="suasenha_siape" rspec

License

suap_api usa a Licença MIT. Para mais detalhes https://github.com/ifms-na/suap_api/blob/master/LICENSE.txt

suap_api's People

Contributors

dependabot-preview[bot] avatar luizpicolo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

suap_api's Issues

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Gem::InvalidSpecificationException with message: The gemspec at /home/dependabot/dependabot-updater/dependabot_tmp_dir/suap_api.gemspec is not valid. Please fix this gemspec.
The validation error was 'duplicate dependency on bundler (~> 1.13, development), (~> 2.0) use:
    add_development_dependency 'bundler', '~> 1.13', '~> 2.0'
duplicate dependency on rake (~> 13.0, development), (~> 10.0) use:
    add_development_dependency 'rake', '~> 13.0', '~> 10.0'
'

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Gem::InvalidSpecificationException with message: The gemspec at /home/dependabot/dependabot-updater/dependabot_tmp_dir/suap_api.gemspec is not valid. Please fix this gemspec.
The validation error was 'duplicate dependency on bundler (~> 1.13, development), (~> 2.0) use:
    add_development_dependency 'bundler', '~> 1.13', '~> 2.0'
duplicate dependency on rake (~> 13.0, development), (~> 10.0) use:
    add_development_dependency 'rake', '~> 13.0', '~> 10.0'
'

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

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.