https://github.com/zauberware/http-observatory
Rails gem for Mozilla HTTP Observatory API
https://github.com/zauberware/http-observatory
http-observatory mozilla rails rails-api rails-engine rails-gem rails4
Last synced: 7 months ago
JSON representation
Rails gem for Mozilla HTTP Observatory API
- Host: GitHub
- URL: https://github.com/zauberware/http-observatory
- Owner: zauberware
- License: mit
- Created: 2017-11-16T14:48:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T22:57:47.000Z (almost 8 years ago)
- Last Synced: 2025-03-19T13:17:02.219Z (8 months ago)
- Topics: http-observatory, mozilla, rails, rails-api, rails-engine, rails-gem, rails4
- Language: Ruby
- Size: 46.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# Rails Gem for Mozilla HTTP Observatory API - [](https://travis-ci.org/zauberware/http-observatory)
The Mozilla HTTP Observatory is a set of tools to analyze your website and inform you if you are utilizing the many available methods to secure it.
* Read more on https://github.com/mozilla/http-observatory/blob/master/README.md
* Information about the API: https://github.com/mozilla/http-observatory/blob/master/httpobs/docs/api.md
Other official projects:
* [http-observatory](https://github.com/mozilla/http-observatory) - scanner/grader
* [observatory-cli](https://github.com/mozilla/observatory-cli) - command line interface
* [http-observatory-website](https://github.com/mozilla/http-observatory-website) - web interface
## Install
```ruby
gem install http_observatory
```
Add to Gemfile
```ruby
gem 'http_observatory'
```
```bash
$ bundle install
```
## How to use
```ruby
HttpObservatory::Api.get_analyze('www.zauberware.com')
HttpObservatory::Api.post_analyze('www.zauberware.com')
HttpObservatory::Api.get_scan_results(123123123)
HttpObservatory::Api.get_host_history('www.zauberware.com')
HttpObservatory::Api.get_recent_scans
HttpObservatory::Api.get_grade_distribution
HttpObservatory::Api.get_scanner_states
```
## Run tests
```bash
$ rspec spec
```
## Authors
* Simon Franzen (zauberware technologies)
