Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
BackscatterIO - the Ruby gem for the Backscatter.io
This is the Backscatter.io API.
This SDK is automatically generated by the Swagger Codegen project:
To build the Ruby code into a gem:
gem build backscatterio.gemspec
Then either install the gem locally:
gem install ./backscatterio-1.0.0.gem
(for development, run gem install --dev ./backscatterio-1.0.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'backscatterio', '~> 1.0.0'
If the Ruby gem is hosted at a git repository: https://github.com/backscatterio/ruby, then add the following in the Gemfile:
gem 'backscatterio', :git => 'https://github.com/backscatterio/ruby.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'backscatterio'
# Setup authorization
BackscatterIO.configure do |config|
# Configure API key authorization: ApiKeyAuth
config.api_key['X-API-KEY'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['X-API-KEY'] = 'Bearer'
end
api_instance = BackscatterIO::Api.new
query = 'query_example' # String |
begin
#enriches asn
result = api_instance.enrich_asn(query)
p result
rescue BackscatterIO::ApiError => e
puts "Exception when calling Api->enrich_asn: #{e}"
end
All URIs are relative to https://api.backscatter.io/v0
Class | Method | HTTP request | Description |
---|---|---|---|
BackscatterIO::Api | enrich_asn | GET /enrichment/asn | enriches asn |
BackscatterIO::Api | enrich_ip | GET /enrichment/ip | enriches ip |
BackscatterIO::Api | enrich_network | GET /enrichment/network | enriches network |
BackscatterIO::Api | hello | GET /hello | authenticate to the service |
BackscatterIO::Api | observations | GET /observations/{queryType} | fetches observations for a given ip address |
BackscatterIO::Api | trends | GET /trends/popular/{trendType} | Top N items |
FAQs
Unknown package
We found that backscatterio demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.