Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sagmor/sii_chile
https://github.com/sagmor/sii_chile
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sagmor/sii_chile
- Owner: sagmor
- License: mit
- Created: 2013-01-09T14:36:48.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T02:09:06.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T22:06:19.916Z (10 months ago)
- Language: Ruby
- Size: 46.9 KB
- Stars: 126
- Watchers: 16
- Forks: 50
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# API SII Chile
API para acceder a algunos de los servicios del
servicio de impuestos internos de chile.## Uso
### Servicio web
Basta con realizar una consulta a `https://siichile.herokuapp.com/consulta`
con el parametro rut para obtener un resultado.Por ejemplo usando jQuery basta con:
```javascript
jQuery.getJSON('https://siichile.herokuapp.com/consulta', {rut: '76.118.195-5'}, function(result) {
console.log(result);
})
```### Ruby
También se puede utilizar directamente desde ruby instalando la gema sii_chile
y realizando la consulta:```ruby
SIIChile::Consulta.new('76.118.195-5').resultado
```## Contribuír
1. Fork
2. Branch (`git checkout -b my-new-feature`)
3. Commit (`git commit -am 'Add some feature'`)
4. Push (`git push origin my-new-feature`)
5. Y envía un Pull Request## Legal
### Descargos
Este desarrollo no está respaldado ni afiliado de ningúna forma al
Servicio de Impuestos Internos de Chile.Este servicio es solo una interfaz para la obtencíon de datos publicos
disponibles desde el sitio http://www.sii.cl y no se garantiza la disponibilidad
del servicio### Licencia
```text
Copyright (c) 2013 Seba GamboaMIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```[](https://bitdeli.com/free "Bitdeli Badge")