Module: ReliefWebAPI
- Defined in:
- lib/reliefweb-api/version.rb,
lib/reliefweb-api.rb,
lib/reliefweb-api/api_error.rb,
lib/reliefweb-api/api_client.rb,
lib/reliefweb-api/models/job.rb,
lib/reliefweb-api/models/date.rb,
lib/reliefweb-api/models/file.rb,
lib/reliefweb-api/api/jobs_api.rb,
lib/reliefweb-api/models/error.rb,
lib/reliefweb-api/configuration.rb,
lib/reliefweb-api/models/report.rb,
lib/reliefweb-api/models/source.rb,
lib/reliefweb-api/models/country.rb,
lib/reliefweb-api/api/reports_api.rb,
lib/reliefweb-api/api/sources_api.rb,
lib/reliefweb-api/models/category.rb,
lib/reliefweb-api/models/disaster.rb,
lib/reliefweb-api/models/language.rb,
lib/reliefweb-api/models/location.rb,
lib/reliefweb-api/models/training.rb,
lib/reliefweb-api/api/training_api.rb,
lib/reliefweb-api/models/sort_post.rb,
lib/reliefweb-api/api/countries_api.rb,
lib/reliefweb-api/api/disasters_api.rb,
lib/reliefweb-api/api/discovery_api.rb,
lib/reliefweb-api/models/limit_post.rb,
lib/reliefweb-api/models/offset_post.rb,
lib/reliefweb-api/models/post_params.rb,
lib/reliefweb-api/models/preset_post.rb,
lib/reliefweb-api/models/profile_post.rb,
lib/reliefweb-api/models/error_definition.rb,
lib/reliefweb-api/models/facets_name_post.rb,
lib/reliefweb-api/models/facets_sort_post.rb,
lib/reliefweb-api/models/query_value_post.rb,
lib/reliefweb-api/models/facets_field_post.rb,
lib/reliefweb-api/models/facets_limit_post.rb,
lib/reliefweb-api/models/filter_field_post.rb,
lib/reliefweb-api/models/filter_value_post.rb,
lib/reliefweb-api/models/query_fields_post.rb,
lib/reliefweb-api/models/facets_filter_post.rb,
lib/reliefweb-api/models/filter_negate_post.rb,
lib/reliefweb-api/models/fields_exclude_post.rb,
lib/reliefweb-api/models/fields_include_post.rb,
lib/reliefweb-api/models/query_operator_post.rb,
lib/reliefweb-api/models/facets_interval_post.rb,
lib/reliefweb-api/models/filter_operator_post.rb,
lib/reliefweb-api/models/filter_conditions_post.rb
Overview
#The ReliefWeb API
#Interactive API documentation for the data API of Reliefweb.int. ReliefWeb is a leading source of information on global crises and disasters.
Our continuous coverage and archive going back to the 1970s makes ReliefWeb an unparalleled resource for both current and historical data on humanitarian response.
The vast majority of content on ReliefWeb has been contributed by humanitarian partners. We owe it to the community to make data more accessible and reusable, so that developers can build tools that increase exposure for valuable content and facilitate analysis for better decisions.
OpenAPI spec version: v1 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.12
Defined Under Namespace
Classes: ApiClient, ApiError, Category, Configuration, CountriesApi, Country, Date, Disaster, DisastersApi, DiscoveryApi, Error, ErrorDefinition, FacetsFieldPost, FacetsFilterPost, FacetsIntervalPost, FacetsLimitPost, FacetsNamePost, FacetsSortPost, FieldsExcludePost, FieldsIncludePost, File, FilterConditionsPost, FilterFieldPost, FilterNegatePost, FilterOperatorPost, FilterValuePost, Job, JobsApi, Language, LimitPost, Location, OffsetPost, PostParams, PresetPost, ProfilePost, QueryFieldsPost, QueryOperatorPost, QueryValuePost, Report, ReportsApi, SortPost, Source, SourcesApi, Training, TrainingApi
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
ReliefWebAPI.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
73 74 75 76 77 78 79 |
# File 'lib/reliefweb-api.rb', line 73 def configure if block_given? yield(Configuration.default) else Configuration.default end end |