Introduction
Welcome to the Hotels.ng API! You can use our API to integrate within your applications.
Authentication
This Endpoint provides you with access Token. Hotel.ng expects for the access token to be included in all API requests to the server in the header.
Authenticating with OAUTH
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/oauth/authenticate');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'grant_type' => 'clixxxxxxxxxx',
'client_id' => 'xxxxxxxxxxx',
'client_secret' => 'xxxxxxxxxxx',
'scope' => 'query'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
Example response:
{
"access_token": "LdRcatkZa2vX8RjRdIf96WrUvnUN0w0QHE2WfOrp",
"token_type": "Bearer",
"expires_in": 3600
}
Hotels.ng uses client_id and client_secret to allow access to our API. The Client ID and Secret will provide an Access Token which will now grant you access to all our Hotels.ng Endpoints.
The default grant_type is client_credentials.
The List of scopes are available at the deck of all the endpoints you are consuming.
You can make use of multiple scopes by using ',' as delimiter.
HTTP Request
GET https://api.hotels.ng/oauth/authenticate?grant_type=&client_id=&client_secret=&scope=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| grant_type | String | Level of access the API Supports |
| client_id | String | ID of the user requesting access |
| client_secret | String | Your secret key |
| scope | String | Operation to perform. (query, properties.read, images.read, facilities.read,...) |
Response Body
| Attributes | Type | Description |
|---|---|---|
| access_token | string | access token issued to the consumer |
| token_type | string | type of token issued |
| expires_in | integer | the duration of time the token is valid for |
Search
With this endpoint, you can search for hotels based on some specific criteria of your choice. These criteria can be based on the type of property, locations, name of a hotel and so forth.
Search for Hotels with parameters
Scope to be used in Authentication - query
For a List of parameter values, see below
property_type :
* Villa
,
* Apartment
,
* Guest House
,
* Hotel
,
* Luxury Hotel
,
Search for hotels
This endpoint allows you to search for Hotels
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/search');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXXXXXXXXXXXXX',
'search_type' => 'property',
'query' => '{"property_name":"eni"}',
'with_images' => '1',
'with_rates' => '0',
'filters' => '{"sort_by":"default","page":1,"per_page":10'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
<?
Example response:
{
"data": [
{
"rating": 6.733333,
"area_id": 0,
"city_id": 3,
"city_master_id": 1680,
"property_type_id": 1,
"activities_id": "2,11,16",
"min_rate_ngn": 6614,
"likes": 10,
"country_code": "NG",
"property_type": "Hotel",
"id": 18789,
"property_name": "Motel Bbisima Limited",
"city": "Bonin",
"weight": 31.240808,
"area": "",
"facility_type_icons": "swimming.png,restaurant.png,bar.png,electricity.png,wireless.png,laundry.png,cabletv.png,security.png,,Wardrobe,desk.png,plasma.png,star.png",
"agency": "Hotelsng",
"country_id": 154,
"continent": "Africa",
"state": "Edo",
"latitude": 6.211462,
"city_code": "Bonin",
"property_url": "19831-motel-bbbisima-limited-dodo",
"status": "active",
"max_rate_ngn": 22680,
"facility_type_ids": "100,101,103,108",
"description": "
Offering exceptional service at an affordable rate, Motel Bbbisima Limited is...
",
"max_rate": 22680,
"road_id": 0,
"currency_code": "NGN",
"facility_type_names": "Swimming Pool,Restaurant(s) ,Bar/Lounge,24 Electricity,Wi-fi Internet",
"min_rate": 6614,
"address": "1 hdybb street, Off mus Road",
"state_code": "Edo",
"star_rating": 0,
"continent_id": 1,
"country": "Nigeria",
"longitude": 5.635554,
"meal_plan_ids": "",
"location_tags_ids": "",
"state_id": 13,
"road": "",
},
],
"status": "",
"message": "",
"meta": {
"status": {
"Message": "Success",
"code": 0
},
"type": "application/json",
}
}
HTTP Request
GET https://api.hotels.ng/search?access_token=&with_images=&with_rates=&filters={}&search_type=&property_type=&query={}
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| access_token | String | Token generated with client_id and client_credentials | True |
| filters | json string | Sorting out the data needed, from the response, in specific manner(e.g "sort_by":"default","page":1,"per_page":10 . |
True |
| with_images | Boolean | Should the response include property's image url | Optional |
| with_rates | Boolean | Should the response include property's rate | Optional |
| search_type | String | Type of Search request(e.g property ,location ) |
True |
| query | json string | The hotel,city, state country of search(e.g "property_name":"eni" ,) |
True |
Response Body
| Attribute | Type | Description |
|---|---|---|
| area_id | integer | area Id of hotels searched for |
| city_id | integer | city Id of hotels searched for |
| city_master_id | integer | Id of the hotel in the city master plan. |
| property_type_id | integer | Id of the property type |
| activities_id | string | activities Id of the hotel |
| min_rate_ngn | integer | minimum rate in naira |
| country | string | name of country |
| continent | string | The continent the hotel is in |
| continent_id | string | Id of the continent the hotel is located in |
| longitude | float | Longitude of the hotel |
| latitude | float | Latitude of the hotel |
| state | string | state where the hotel is located |
| city_code | string | city code of the hotel |
| country_code | string | country code of the hotel |
| number_properties | integer | number of counted properties |
| location_id | integer | the id of the location when counted |
| id | integer | customer web hook identifier |
| state_code | string | the identifying code of the state |
| facility_type_names | string | names of the facility types available |
| provider | string | provider of the hotel finder services |
| room_id | integer | Id unique to the room |
| facility_type_ids | integer string | Ids peculiar to the facility type |
| facility_type_icons | string | Icons relating to the type of facilities available |
| rating | integer | rating of the hotel |
| city | string | city the hotel is situated |
| description | string | description of hotel |
| star_rating | integer | star rating of hotel |
| property_url | string | url for the property searched |
| likes | integer | number of likes for the hotel |
Search for properties nearby
This fetches all the properties(hotels) near a particular hotel's location
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/search/nearby');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXXxxxxxxxxxxxxx',
'property_type' => 'hotel',
'property_id' => '255789'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
Example response:
{
"data": [
{
"rating": 6.4,
"area_id": 0,
"city_id": 274,
"city_master_id": 1951,
"property_type_id": 1,
"activities_id": "",
"min_rate_ngn": 10000,
"likes": 34,
"country_code": "NG",
"property_type": "Hotel",
"id": 18456,
"property_name": "People city resort",
"city": "Port Harcourt",
"weight": 32.346737,
"area": "",
"facility_type_icons": "parking.png,restaurant.png,cabletv.png,refridgerator.png,bar.png,electricity.png,parking_letter.png...",
"country_id": 154,
"continent": "Africa",
"state": "Rivers",
"latitude": 9.066667,
"city_code": "Port Harcourt",
"property_url": "18456-People city resort--rita",
"status": "active",
"max_rate_ngn": 100000,
"facility_type_ids": "100,110,113,116,117,119,121,122,128,130,143",
"description": "
people city resort is a top hotel located in 39 Tommy Street by la la Road, GRA, Port Harcourt....",
"max_rate": 100000,
"road_id": 0,
"currency_code": "NGN",
"facility_type_names": "Adequate Parking,Restaurant(s) ,DSTV,Refrigerator,Bar,24 hours Electricity,Parking Garage,POS,Laundry,Security Guard,Event Hall,Restaurant(s) CCTV camera...",
"min_rate": 10000,
"address": "39 Tombia Street by La la Road, Port Harcourt",
"review_count": 26,
"state_code": "Rivers",
"star_rating": 0,
"continent_id": 1,
"country": "Nigeria",
"longitude": 7.483333,
"meal_plan_ids": "",
"location_tags_ids": "",
"state_id": 33,
"road": "",
"images": [
{
"id": 5181,
"application_id": "1",
"object_id": 18456,
"title": null,
"description": null,
"url": "https://media.api.hng.tech/img/big/people-rivers-19253.jpg",
"room_id": null,
"facility_id": null,
},
{
"id": 5189,
"application_id": "1",
"object_id": 18456,
"title": null,
"description": null,
"url": "https://media.api.hng.tech/img/big/bay-people-hotel-rivers-25971.png",
"room_id": null,
"facility_id": null,
"priority": "4",
}
]
}
{
"status": "success"
}
HTTP Request
GET https://api.hotels.ng/search/nearby?access_token=
&property_type=
&property_id=
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| access_token | String | Token generated with client_id and client_credentials | True |
| property-type | String | Type of property to(e.ghotel ) request |
True |
| property_id | String | Id associated to a property | True |
Response Body
| Attribute | Type | Description |
|---|---|---|
| area_id | integer | area Id of hotels searched for |
| city_id | integer | city Id of hotels searched for |
| city_master_id | integer | Id of the hotel in the city master plan. |
| property_type_id | integer | Id of the property type |
| activities_id | string | activities Id of the hotlel |
| min_rate_ngn | integer | minimum rate in naira |
| country | string | name of country |
| continent | string | The continent the hotel is in |
| continent_id | string | Id of the continent the hotel is located in |
| longitude | float | Longitude of the hotel |
| latitude | float | Latitude of the hotel |
| state | string | state where the hotel is located |
| city_code | string | city code of the hotel |
| likes | integer | number of likes for the hotel |
| country_code | string | country code of the hotel |
| number_properties | integer | number of counted properties |
| location_id | integer | the id of the location where for hotels searched |
| id | integer | customer web hook identifier |
| images | array | array of images related details for the hotel |
| object_id | integer | Id of the image |
| application_id | string | application Id of the image |
| url | string | url to image of the hotel searched |
| state_code | string | the identifying code of the state |
| facility_type_names | string | names of the facility types available |
| provider | string | provider of the hotel finder services |
| room_id | integer | Id unique to the room |
| facility_type_ids | integer string | Ids peculiar to the facility type |
| facility_type_icons | string | Icons relating to the type of facilities available |
| rating | integer | rating of the hotel |
| city | string | city the hotel is situated |
| description | string | description of hotel |
| star_rating | integer | star rating of hotel |
| priority | integer | priority of the image for the hotel |
| status | string | status of the hotel |
| property_url | string | url for the property searched |
Get hotel count in a location
This endpoint retrieves detailed information about a city/state in a country.The information includes;the number of properties,brief description of the city, the city code and so forth. To fetch this information, you will be required to provide the location and your access token as query parameters in order to get a successful response. The location can be a state/city in a country or region.
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/search/location/count/bulk');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'property_type' => 'hotel',
'location_type' => 'city',
'locations' => '["uyo","calabar"]',
'country' => 'nigeria',
'access_token' => 'XXXXXXXXXXXXXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
Example response:
{
"status": "success",
"data": {
"Lugbe": {
"city": "Lugbe",
"description": "Lugbe is a fine city...",
"area": "",
"country": "Nigeria",
"continent": "Africa",
"longitude": 0,
"location_type": "city",
"state": "Abuja",
"tag": "",
"city_code": "Lugbe",
"country_code": "NG",
"number_properties": 29,
"latitude": 0,
"state_code": "",
"location_id": 201,
"id": 1878,
"road": ""
}
}
}
HTTP Request
GET https://api.hotels.ng/search/location/count/bulk?property_type=
&location_type=
&locations=[]
&country=
&access_token=
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| access_token | String | Token generated with client_id and client_credentials | True |
| property_type | String | Type of property | True |
| location_type | String | Type of place (e.g city,state) | True |
| location | Array | Location of places(e.g lagos,Uyo,Akwa Ibom). Information about multiple location can be gotten using the delimiter ',' | True |
| country | String | The location's country | True |
Response Body
| Attribute | Type | Description |
|---|---|---|
| country | string | name of country |
| continent | string | the continent the hotel is in |
| longitude | float | longitude of the hotel |
| latitude | float | latitude of the hotel |
| location_type | string | type of location |
| state | string | state where the hotel is located |
| city_code | string | city code of the hotel |
| country_code | string | country code of the hotel |
| number_properties | integer | number of counted properties(hotels) in the location. |
| location_id | integer | the id of the location when counted |
| id | integer | customer web hook identifier |
Bookings
Access to all bookings related things
The Scope used in Authentication - bookings.read
The bookings API is able to get details of specific bookings. Most of the features of this API are accessible only by an admin. The available to a normal user scopes is read.
Get details of a single booking
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/bookings/');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'booking_id' => '13',
'access_token' => 'xxxxxxxxxxxxxxxxxxxx'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
Example response:
{
"data": {
"bookings": [
{
"id": 1172077,
"country": "154",
"guest": {
"id": "1172077",
"fname": "Doe",
"lname": "John",
"gender": null,
"title": "Mrs",
"phone": "01234567898",
"email"<EMAIL_ADDRESS>"address": "n/a",
"marital_status": null,
"guest_type": null,
"guest_meta": []
},
"ptype": "hotel",
"payment_status": null,
"status": "NEW",
"price": "16000",
"currency_price": "0.00",
"application_id": "xxxxxxxxxxxxxxxxxxxxxx",
"currency_code": "NGN",
"address": "10-12 Agungi Road, Off Lekki - Ajah Expressway, Before Chevron Roundabout",
"city": "Lekki",
"state": "Lagos",
"country_name": "Nigeria",
"continent": "Africa",
"property_name": "Lekki Oxford Hotels",
"property": 25449,
"deal_status": "5",
"deal_percentage": null,
"property_labels": null,
"property_url": "25449-lekki-oxford-hotels-lagos",
"property_contacts": [
{
"id": 8781,
"type": "phone",
"value": "+2348168000001",
"role_id": "0",
"property_id": "25449",
"notes": "Hotel Official Phone number",
"rating": null,
},
{
"extra_info": {
"provider": "hotelsng",
"payment_type": "post-payment"
},
"rooms": [
{
"id": 442247,
"booking_id": "1162077",
"room_id": "388750",
"rate_id": "52169",
"b_rate": "14400",
"s_rate": "16000",
"currency": "null",
"currency_s_rate": "0.00",
"nights": "1",
"roomtype": {
"id": 388750,
"name": "Standard Room (With Breakfast) (Exclusive Deal Based on Availability)",
"property_id": "73995",
"description": "",
"number_of_guests": "0",
"number_of_rooms": "0",
"minimum_stay_nights": "0",
"payment_type": "all",
"room_id": "388750"
}
}
This endpoint Fetches booking details for a specific booking.
HTTP Request
GET https://api.hotels.ng/bookings/booking_id?access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| booking_id | Number | Local id assigned to that booking |
| access_token | String | Generated access token from Oauth2 developer credentials |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier |
| bookings | array | array of booking related information |
| guest.id | integer | Id of the guest |
| guest.fname | string | First name of the guest |
| guest.lname | string | Last name of the guest |
| guest.title | string | Title of the guest |
| guest.phone | integer | phone number of the guest |
| guest.email | string | email address of the guest |
| guest.address | string | address of the guest |
| state | string | state where the hotel is located |
| currency_code | string | currency code of the the locality |
| price | integer | price of the hotel |
| city | string | city where the hotel is located |
| state | string | state where the hotel is located |
| payment_type | string | type of payment used |
| property_url | string | url of property |
| rooms | array | array of rooms related information |
| room_id | integer | Id of the rooms |
| rate_id | integer | Id of the rate |
| nights | integer | number of nights spent by the guest |
| booking_id | integer | Id peculiar to the booking |
| room_type | object | details of information pertaining to room type |
| property_contacts | array | array of information showing the contact details of a property |
| notes | string | message showing information about the contact details |
| type | string | type of device used for contact |
| value | string | value for contact device destination |
| provider | string | customer service provider |
| roomtype.name | string | type of room available |
| roomtype.property_id | string | property Id of the room type |
| roomtype.room_id | string | Id of the room type |
| roomtype.payment_type | string | type of payment in use |
| nights | string | number of nights to be spent |
Hotels
Access to all Hotel related information
The scope used for authentication - properties.read
The hotels endpoints allows you to get the list of hotels, show details of a specific hotel and every thing associated to it. This endpoint would also return details like; directions to the hotel, website of the hotel and some other basic information about the hotel that might interest the user.
Get list of hotels
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('http://api.hotels.ng/hotels');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXxxxxxxxxxXXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status": "success",
"data": [
{
"id": 10000,
"name": "Sweet-guest-house-abuja",
"description": "",
"property_type_id": 1,
"website": null,
"currency_code": "NGN",
"minrate": 0,
"maxrate": 0,
"is_bookable": 1,
"property_type": "hotel",
"number_of_rooms": 4,
"policy": null,
"rating": 3,
"payment_type": "all",
"driving_instructions": "From jane street, Zone...",
},
{
"id": 22200,
"name": "Tom-guest-house-abuja",
"description": "TOm guest house consist...",
"property_type_id": 1,
"website": null,
"currency_code": "NGN",
"minrate": 0,
"maxrate": 0,
"is_bookable": 1,
"property_type": "hotel",
"number_of_rooms": 10,
"policy": null,
"rating": 3,
"payment_type": "all",
"driving_instructions": "From market street, Zone...",
}
]
}
This endpoint returns an array of Hotels.
HTTP Request
GET https://api.hotels.ng/hotels?access_token=
URL Parameters
| Parameter | Type | Description |
|---|---|---|
| access_token | String | Your access token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier. |
| name | string | name of the hotel |
| description | String | The information about the hotel, terms and conditions , and FAQ. |
| currency_code | string | code peculiar to the type of currency |
| min_rate | integer | minimum rate of hotel |
| max_rate | integer | maximum rate of hotel |
| is_bookable | boolean | the value return 1 , if there is any available room for booking. |
| property_type | string | the type of property(e.g hotel ) |
| rating | string | the average rating of the property by guests, the maximum value is 10. |
| payment_type | string | The available payment option. |
| driving_instructions | string | directions to the place |
Show hotel information
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/hotels/12443');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXxxxxxxxxxXXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"data": {
"name": "Jambo Rambo Hotel",
"description": " Jambo Rambo Hotel is 3-Star hotel...",
"status": "active",
"currency_code": "NGN",
"website": "http://lekkioxfordhotels.com",
"is_bookable": 1,
"payment_type": "all",
"driving_instructions": "LANDMARK: aba close Take...",
"minrate": "8000.00000",
"maxrate": "35000.00000",
"unique_url": "25449-jombo-Rambo-hotels-lagos",
"rating": "3",
"policy": " Free stay for Babies and kids" ,
"property_type_id": "1",
"number_of_rooms": "3",
},
"status": "success"
}
This endpoint shows information of a particular hotel.
HTTP Request
GET https://api.hotels.ng/hotels/hotel_id?access_token=
URL Parameters
| Parameter | Type | Description |
|---|---|---|
| hotel_id | Number | id of the Hotel |
| access_token | String | Your access token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| name | string | name of the hotel |
| description | String | The information about the hotel, terms and conditions , and FAQ |
| status | string | the availability of the hotel |
| currency_code | string | code peculiar to the type of currency |
| is_bookable | integer | the value returns 1 , if there is any available room for booking |
| payment_type | string | the available payment option |
| driving_instructions | string | directions to the place |
| minrate | integer | the minimum rate |
| maxrate | integer | the maximum rate |
| unique_url | string | url unique to the hotel |
| rating | string | the average rating of the property by guests, the maximum value is 10 |
| policy | string | the policy proposed by the property management |
| property_type_id | integer | Id of the type of property |
| property_id | integer | Id of property |
| number_of_rooms | interger | the number of available rooms in the property |
Show hotel details
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/hotels/97874/details');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXxxxxxxxXXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"data": {
"status": "success"
{
"hotel": {
"data": {
"id": 2549,
"name": "Hotel wanda",
"description": "Hotel wanda Hotel is 3-Star;hotel located at No. 10-12 Drive way,Expressway before school....",
"property_type_id": "1",
"status": "active",
"website": "http://hotelwanda.com",
"currency_code": "NGN",
"minrate": "8000.00000",
"maxrate": "35000.00000",
"is_bookable": "1",
"property_type": "hotel",
"number_of_rooms": "0",
"rating": "3",
"policy": "No pets allowed.",
"rating": "7.0",
"payment_type": "all",
"driving_instructions": "Pass through, turn right",
"unique_url": "25449-wanda-oxand-hotels-lagos",
},
"review_summary": {
"data": [
{
"avg_score": "6.4571",
"avg_overall_rating": "6.822857",
"criterion_name": "Comfort"
},
{
"avg_score": "6.9143",
"avg_overall_rating": "6.822857",
"criterion_name": "Cleanliness"
},
{
"avg_score": "6.8000",
"avg_overall_rating": "6.822857",
"criterion_name": "Service Quality"
},
{
"avg_score": "7.0286",
"avg_overall_rating": "6.822857",
"criterion_name": "Security"
},
{
"avg_score": "6.9143",
"avg_overall_rating": "6.822857",
"criterion_name": "Location"
}
]
},
"location": {
"data":
{
"city_id": "196",
"state_id": "25",
"address": "No.45hhjjx, Before Church Roundabout...",
"longitude": "3.5166",
"latitude": "6.43788",
"postal_code": null,
"city": {
"id": 196,
"name": "Lekki",
"code": "Lekki",
"state_id": "25",
"latitude": null,
"longitude": null,
"country_code": "NG",
"country": {
"id": 154,
"name": "Nigeria",
"code": "NG",
"continent_id": "1",
"latitude": "0.00000",
"longitude": "0.00000",
"continent": {
"id": 1,
"name": "Africa",
"latitude": "0.00",
"longitude": "0.00",
}
}
},
"state": {
"id": 25,
"name": "Lagos",
"description": "Lagos State is Nigeria’s and Africa’s largest commercial hub...",
"code": "Lagos",
"type": "state",
"province_code": null,
"latitude": "6.000004",
"longitude": "3.000660",
"country_code": "NG",
"country": {
"id": 154,
"name": "Nigeria",
"code": "NG",
"continent_id": "1",
"latitude": "0.00000",
"longitude": "0.00000",
"continent": {
"id": 1,
"name": "Africa",
"latitude": "0.00",
"longitude": "0.00",
}
}
}
}
},
"facilities": {
"data": [
{
"id": 1967,
"facility_type_id": "100",
"facility_type": {
"id": 100,
"facility_category_id": "3",
"name": "Restaurant(s) ",
"img_url": "restaurant.png",
}
}
]
},
"reviews": {
"data": [
{
"id": 14776,
"booking_id": null,
"property_id": "25449",
"user_id": null,
"name": "Mr. John Doe",
"email"<EMAIL_ADDRESS>"title": "jkxnnx",
"location_id": null,
"comment": "My stay ....",
"overall_rating": "4.80",
"scores": [
{
"id": 71001,
"review_id": "14776",
"criterion_id": "1",
"score": "2"
},
],
},
This endpoint fetchs all the details of a particular hotel. This details consist of the hotel's location, review summary, facilities and reviews by previous guests.
HTTP Request
GET https://api.hotels.ng/hotels/hotel_id/details?access_token=
URL Parameters
| Parameter | Type | Description |
|---|---|---|
| hotel_id | Number | id of the Hotel |
| access_token | String | Your access token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| name | string | name of the hotel |
| description | String | The information about the hotel, terms and conditions , and FAQ |
| status | string | the availability of the hotel |
| currency_code | string | code peculiar to the type of currency |
| is_bookable | integer | the value return 1 , if there is any available room for booking |
| payment_type | string | the available payment option |
| driving_instructions | string | directions to the place |
| minrate | integer | the minimum rate |
| maxrate | integer | the maximum rate |
| unique_url | string | url unique to the hotel |
| rating | string | the average rating of the property by guests, the maximum value is 10 |
| policy | string | the policy proposed by the property management |
| property_type_id | integer | Id of the type of property |
| property_id | integer | Id of property |
| number_of_rooms | interger | the number of available rooms in the property |
| review_summary | object | object of details relating to the review summary |
| hotel | object | of details relating to the hotel |
| website | string | website of the hotel |
| location | object | of details relating to the hotel's location |
| state | object | of details relating to state where the hotel is located |
| facilities | object | of details relating to the facilities of the hotel |
| reviews | object | of details relating to the reviews of the hotel |
| avg_score | string | the average score the hotel has for a specific criterion |
| avg_overall_rating | string | the overall guest score |
| criterion_name | string | the name of the review criterion (e.g cleanliness ) |
| latitude | string | Latitude of country |
| longitude | string | Longitude of country |
| continent | object | Details of Continent where country is located |
| code | string | code of the location |
| object_id | integer | Id of the object supplied |
| facilities | object | Detailed information about the facilities in the hotel. |
| facility_type_id | integer | Id of the facility |
| object_type | string | Type of object supplied |
| reviews | object | All reviews made by guests about the hotel. it encomprises guests name, comments, overall rating and email address of guest. |
| comment | string | comment of the reviewer |
| overall_rating | integer | The overall rating of the hotel by the guest. |
| review_id | integer | Id of the review |
| score | integer | Scores given to each criterion. |
Images
The Images endpoint returns images of a particular hotel. Images could be small, medium or big depending on the preference of the user.
The scopes used for Authentication - images.read
Show images of a particular hotel
This endpoint fetches images of a specific hotel.
The image URL is in this format https://api.hotels.ng/img/{size}/name_of_image.jpg.
The following sizes of images are returned:
size:
1. small - A small sized image is returned.
2. medium - A medium sized image is returned.
3. big - A big sized image is returned.
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/hotels/134/images');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXXXXXXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
Example response:
{
"data":[
{
"id":9191,
"object_id":25449,
"title":"room",
"url":"https:\/\/media.api.hng.tech\/img\/big\/mich-hotel-ltd-lagos-899.jpg",
"room_id":4566,
"facility_id":null,
},
{
"id":9192,
"object_id":25449,
"title":"gym",
"url":"https:\/\/media.api.hng.tech\/img\/big\/mich-hotel-ltd-lagos-899.jpg",
"room_id":null,
"facility_id":null,
}
],
"status":"success"
}
HTTP Request
GET https://api.hotels.ng/hotels/{hotel_id}/images?access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| hotel_id | Number | id of the Hotel |
| access_token | String | Your Access Token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | the image identification number. |
| object_id | integer | Id of the hotel. |
| title | string | the title given to the image |
| facility_id | string | The id of the facility, if the image is a facility |
| room_id | string | The id of the room, if the image is a room |
| img_url | string | link to the image of the specific hotel |
Facilities
The facilities API shows the facilities a hotel has, like a restaurant, as well as images of the faciility.
List of Scopes to be used in Authorization
Facilities.read
Show facilities for a hotel
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/hotels/12345/facilities');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXX-Your-Access_token-XXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
Example response:
{
"status":"success",
"message":"Object facilities",
"data":[
{
"id":,
"object_id":"25449",
"facility_type_id":"100",
"object_type":"hotel",
"facility_name":"Restaurant(s) ",
"img_url":"restaurant.png"
},
{
"id":,
"object_id":"25449",
"facility_type_id":"101",
"object_type":"hotel",
"facility_name":"Bar\/Lounge",
"img_url":"bar.png"
},
{
"id":1969,
"object_id":"25449",
"facility_type_id":"105",
"object_type":"hotel",
"facility_name":"Wireless Internet",
"img_url":"wireless.png"
}
]
}
This endpoint shows the facilities available for a specific hotel.
HTTP Request
GET https://api.hotels.ng/hotels/hotel_id/facilities?access_token=
URL Parameters
| Parameter | Type | Description |
|---|---|---|
| hotel_id | Number | id of the Hotel |
| access_token | String | Your generated access token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier |
| object_id | integer | Id of the object supplied |
| facility_type_id | integer | Id of the facility |
| object_type | string | Type of object supplied |
| facility_name | string | name of facility supplied |
| img_url | string | link to the image of facility |
Reviews
The Reviews API returns reviews made by users. Response may include comments, ratings of hotels by user or hotel personnel.
List of Scopes to be used in Authentication
The scope available to the user is only the read scope.
properties.read
Show reviews for a specific hotel
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/hotels/124783/reviews');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXX-Your-Access_token-XXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status":"success",
"data":[
{
"id":3555,
"property_id":"43864",
"name":"John Doe",
"title":"okay",
"comment":"I enjoyed my stay, the service was very good and the rooms were quite comfortable.",
"overall_rating":"2.00",
"is_published":"1",
"review_score":[
{
"id":3236,
"review_id":"3555",
"criterion_id":"1",
"score":"2",
},
{
"id":14323,
"review_id":"3555",
"criterion_id":"5",
"score":"2",
},
{
"id":25410,
"review_id":"3555",
"criterion_id":"2",
"score":"2",
}
]
{
"review_comments":[
]
}
}
This endpoint shows the reviews for a specific hotel.
HTTP Request
GET https://api.hotels.ng/hotels/hotel_id/reviews?access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| hotel_id | Number | Id of the Hotel |
| access_token | String | Your generated acess token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier. |
| property_id | integer | Id of the property supplied |
| name | string | name of the reviewer |
| title | string | title of the review |
| comment | string | comment of the reviewer |
| overall_rating | integer | General rating of the hotel |
| review_id | integer | Id of the review |
| score | integer | Score of the review |
| is_published | string | if the review is published |
Locations
Access to all location related things
The scopes used in authentication is locations.read
The location API shows details about a location regarding a hotel, addresses, the latitude and longitude, the continent the hotel is, properties around the hotel, It can viewed by all users who might need location details about an hotel they want to book. .
Show list of countries
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/location/countries');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXX-Your-Access_token-XXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"data":[
{
"id":1,
"name":"Afghanistan",
"code":"AF",
"continent_id":"3",
"latitude":"0.00000",
"longitude":"0.00000",
"continent":{
"id":3,
"name":"Asia",
"latitude":"0.00",
"longitude":"0.00"
}
},
{
"id":2,
"name":"Albania",
"code":"AL",
"continent_id":"5",
"latitude":"0.00000",
"longitude":"0.00000",
"continent":{
"id":5,
"name":"Europe",
"latitude":"0.00",
"longitude":"0.00"
}
},
{
"id":3,
"name":"Algeria",
"code":"DZ",
"continent_id":"1",
"latitude":"0.00000",
"longitude":"0.00000",
"continent":{
"id":1,
"name":"Africa",
"latitude":"0.00",
"longitude":"0.00"
}
}
],
"status": "success"
}
This endpoint shows the list of countries.
HTTP Request
GET https://api.hotels.ng/location/countries?countries=&access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| countries | String | Countries list |
| access_token | String | Your access token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier. |
| name | string | Name of Country |
| code | string | Code of Country |
| continent_id | integer | Id of the Continent where the country is |
| latitude | string | Latitude of country |
| longitude | string | Longitude of country |
| continent | object | Details of Continent where country is located |
Shows the location details of a property
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/location/propertylocations/13455/property');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXX-Your-Access_token-XXX'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status": "success",
"data": null,
"id": 3499,
"property_id": 25449,
"road_id": null,
"area_id": 163,
"city_id": 196,
"state_id": 25,
"address": "10-12 road before...",
"longitude": 0.5166,
"latitude": 0.43788,
"airport_code": null,
"postal_code": null,
"zip_code": null,
"area": {
"id": 163,
"name": "Phase 1"
},
"road": null,
"city": {
"id": 19,
"name": "Lekki",
"country_code": "NG",
"country": {
"id": 154,
"name": "Nigeria",
"code": "NG",
"continent_id": 1,
"continent": {
"id": 0,
"name": "Africa"
}
}
}
},
Returns the location details of a property.
HTTP Request
GET https://api.hotels.ng/location/propertylocations/{property_id}/property?access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| property_id | String | Properties list |
| access_token | String | Your access token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier. |
| property_id | integer | Id of the property supplied |
| area_id | string | Id of the area to the location |
| city_id | string | Id of the city to the location |
| state_id | string | Id of the state to the location |
| address | string | address to the location |
| latitude | integer | latitude of the hotel's location |
| longitude | integer | longitude of the hotel's location |
| area | object | Details of the area where the property is located |
| city | object | Details of the city where the property is located |
| country | object | Details of the country where the property is located |
| continent | object | Details of Continent where the property is located |
Rooms
Access to all Rooms related things
The scope to be used- rooms.read
The Rooms Api gives details about the rooms in a hotel. It returns the room's id, name of room, property id and all relevant information pertaining to the rooms.
Scope - rooms.read
Get Rooms in a Particular Hotel Based on the Hotel's id
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('https://api.hotels.ng/rooms/property/184766');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'XXXXXxxxxxxx'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example Response:
{
"data":[
{
"room_id":2109,
"name":"Standard Room (Single)",
"property_id":"43864",
"description":"",
"number_of_guests":null,
"minimum_stay_nights":null,
"payment_type":"all",
"number_of_rooms":null
},
{
"room_id":2110,
"name":"Classic Single Room",
"property_id":"43864",
"description":"",
"number_of_guests":null,
"minimum_stay_nights":null,
"payment_type":"all",
"number_of_rooms":null
},
{
"room_id":2111,
"name":"Deluxe Room",
"property_id":"43864",
"description":"",
"number_of_guests":null,
"minimum_stay_nights":null,
"payment_type":"all",
"number_of_rooms":null
}
],
"status":"success"
}
HTTP Request
GET https://api.hotels.ng/rooms/property/hotel_id?access_token=
Url Parameters
| Parameter | Type | Description |
|---|---|---|
| Hotel_id | Number | Local id assigned to that hotel |
| access_token | String | Generated access token from Oauth2 developer credentials |
Response Body
| Attribute | Type | Description |
|---|---|---|
| room_id | integer | Id of the room in a particular hotel |
| name | string | Name of the room in a particular hotel |
| property_id | integer | Id of the hotel |
| description | string | Description of the room type |
| payment_type | string | Type of payment method |
Rates
Access to all Rates Flag
The scope used for authentication: rates.read
The Rate API returns the rates at which rooms go for. Also, rate flags, rate Ids, multiple flag rates.
The admin some certain priviledges.
Get details about a single rate
by Id
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('http://api.hotels.ng/rates/25449/detail');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'xxxxxxxxx'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status": "success",
"message": "Rate",
"data": {
"id": 1,
"property_id": 98319,
"room_id": 10,
"rate_tag_id": 1,
"rack_price": 55000,
"buying_price": 49500,
"selling_price": 55000,
"priority": 1,
}
}
This Endpoint returns the details about a single rate by ID
HTTP Request
https://api.hotels.ng/rates/rate_id/detail?access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| access_token | String | Generated access token from Oauth2 developer credentials. |
| rate_id | Integer | Unique identifier for a rate. |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | integer | Customer user-supplied webhook identifier. |
| property_id | integer | Id of the property supplied |
| room_id | Integer | Id of a particular room |
| rate_tag_id | Integer | ID of the tag rate |
| rack_price | Integer | Price of the rack |
| buying_price | Integer | Buying price |
| Selling_price | Integer | Selling price |
Get all available flags
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('http://api.hotels.ng/rates/flags/all');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'xxxxxxxxx'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status": "success",
"message": "Available Flags",
"data": [
[
{
"flag_name": "Vat inclusive",
"id": 1
},
{
"flag_name": "lunch inclusive",
"id": 2
},
]
]
}
This Endpoint returns all the available Flags
HTTP Request
https://api.hotels.ng/rates/flags/all?access_token=
Query Parameters
| Parameter | type | Description |
|---|---|---|
| access_token | String | Your Access Token |
Response Body
| Attribute | Type | Description |
|---|---|---|
| flag_name | String | Specific attributes/features of a hotel that a fixed rate is assigned. |
Get flags by rate ID
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('api.hotels.ng/rates/flags/29981');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'xxxxxxxxx'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status": "success",
"message": "All flags with rate 29981",
"data": {
"flag_name": "Lunch Inclusive",
"id": 2
}
},
This Endpoint returns all the Flags by rate id
HTTP Request
https://api.hotels.ng/rates/flag/id?access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| access_token | String | Generated access token from Oauth2 developer credentials |
| id | Interger | Id to return all flag ratings |
Response Body
| Attribute | Type | Description |
|---|---|---|
| flag_name | String | Name of the flag rate |
| id | Integer | Id of the flag |
Fetch multiple flag rates by ID
Example request:
<?php
$request = new HttpRequest();
$request->setUrl('http://api.hotels.ng/rates/flags/multiple/fetch/');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'access_token' => 'xxxxxxxxx',
'rate_ids' => '53146,53141,53140'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Example response:
{
"status": "success",
"message": "Rates with Flag Ids",
"data": {
"53140": [
"1",
"3"
],
"53141": [
"2",
"5",
"7"
],
"53146": [
"2"
]
}
}
This Endpoint returns multiple rate flags by their ID.
HTTP Request
https://api.hotels.ng/rates/flags/multiple/fetch?rate_ids=&access_token=
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| access_token | String | Generated access token from Oauth2 developer credentials |
| rate_ids | String | ID of rates.Multiple ids can be use , using the delimiter ',' |
Response Body
| Attribute | Type | Description |
|---|---|---|
| id | Integer | Customer user-supplied webhook identifier. |
| property_id | Integer | Id of the Property supplied |
| room_id | Integer | Id of a particular room |
| rate_tag_id | Integer | Id of the tag rate |
| rack_price | Integer | Price of the rack |
| buying_price | Integer | Buying price |
| selling_price | Integer | Selling price |
| priority | Integer | Priority of the rate flag |


OASIS GAMES LIMITED ("OASIS ") is dedicated to protecting the privacy rights of its online users ("users" or “user”). This Online Privacy Policy ("Privacy Policy") has been crafted to inform users as to the ways OASIS collects, stores, uses, and manages the information users provide during the use of any OASIS game or
application ("Service"). Please note that the scope of this Privacy Policy is only applicable to information
collected by OASIS through the use of the Service.
By using the Service, users are agreeing to the collection and use of their personal information as
outlined in this Privacy Policy. OASIS may amend the Privacy Policy from time to time, and the amendments shall
be published on OASIS official website. OASIS encourages users to consult the Privacy Policy regularly for
changes.
OASIS’s primary objective in collecting users’ information is to provide and enhance the Service and to enable
users to easily navigate and enjoy the Service.
When users install any of the OASIS games or applications, it is deemed that users have read and accepted
the terms and conditions under this Privacy Policy without reservation.
OASIS may collect and record the information as follows: i. the information collected and recorded according to
the Policy and Terms of Facebook, (available at: http: //www.facebook.com), or; ii, the information users
provided voluntarily through the site where the game is hosted or downloaded from.
The types of personal information collected in accordance with the activities listed above may vary
depending on the activities. This "personal information" is defined as information about users that can be used
to contact or identify users. Personal information may include: (1) First name, last name, (2) Information about
the users’ profile, including without limitation the users’ first, last and user names, and social networking
site profile ID and icon, (3) email address, (4) phone number, and/or (5) credit or debit card information, or
other payment details, depending on users’ form of payment. Additionally, OASIS may acquire information from
users through (1) users’ access and participation in message boards on the Service, (2) users’ email to our
customer support, and (3) users’ purchase of a virtual product of any type. Please note that because a third
party manages the purchases of virtual goods offered by the Service, OASIS does not have access to users’
payment details and billing information.
OASIS may also invite users to share non-personal information about themselves which may include but is not
limited to: (1) users’ age or date of birth; (2) users’ gender; (3) information about the hardware users may
own; (4) users’ favorite websites, friend information and fan pages; and (5) users’ game play information such
as their highest scores or game session duration (collectively referred to as "non-personal information"). If
non-personal information is collected for an activity that also requires personal information, OASIS may combine
the users’ non-personal information with their personal information in an attempt to provide the users with a
better user experience, to improve the quality and value of the Services and to analyze how our Service is used.
In addition to information collected as described above, users may choose to share additional information
about themselves throughout the Service, such as in games or on message boards. Any actions users perform with
other players are considered public, and are at users’ sole discretion. Any information users provide to OASIS,
and any information users choose to share about themselves as part of the use of any service, will be stored as
entered.
Finally, any time users access the Service, OASIS may collect aggregate information including but not
limited to internet protocol addresses, browser type, browser language, referring / exit pages and URLs,
platform type, number of clicks, domain names, landing pages, pages viewed and the order of those pages, the
amount of time spent on particular pages, and the date and time of this activity. OASIS uses this information to
better tailor the Service to users’ interests, to provide users more efficient customer support, and to overall
enhance the Service.
In all cases of data access and collection, the information users provide will not be disclosed, rented,
leased, loaned, sold, or otherwise voluntarily distributed to unaffiliated third parties except to provide
products or services users have requested, when OASIS has users’ permission, or under the following
circumstances:
Other Disclosure of Users’ Personal Information
We do not share personal information with companies, organizations and individuals unless one of the following
circumstances applies:
I.For legal reasons
i) Meet any applicable law, regulation, legal process or enforceable governmental request.
ii) Enforce applicable Terms of Service, including investigation of potential violations.
iii) Detect, prevent, or otherwise address fraud, security or technical issues.
iv) Protect against harm to the rights, property or safety of OASIS, our users or the public.
v) Required or permitted by law.
II. For external processing
i) OASIS provides the information to trusted partners who work on behalf of or with OASIS under
confidentiality agreements. These companies may use users’ personal information to help OASIS communicate with
users about offers from OASIS and our marketing partners. However, these companies do not have any independent
right to share this information.
III. For service transferring
i) In the event of a merger, acquisition, reorganization, bankruptcy, or other similar event, customer
information may be transferred to OASIS's successor or assignee, if permitted by and done in accordance with
applicable law.
ii) In cases where the service is transferred or distributed to a third party, the users’ personal
information shall be transferred to the third party in order to continue service.
IV. With parents’ requirement
OASIS has a parent's permission to share the information if the user is a child under the age of 13. Parents
have the option of allowing OASIS to collect and use their child's information without consenting to OASIS
sharing of this information with people and companies who may use this information for their own purposes.
A cookie is a small data file that OASIS transfers to users’ computer’s hard disk, generally to quickly identify a user's computer and to "remember" things about the user's visit, such as the user’s preferences or a user’s name and password. The Service sends cookies to users’ computers when users access or view content of an OASIS game. Information contained in a cookie may be linked to users’ personal information for purposes such as improving the quality of our service, tailoring recommendations to users’ interests, and making the Service easier to use. Users can disable cookies at any time, although users may no longer be able to access or use certain features of the Service.
The Service may contain links to other websites. The fact that the Service links to a website or presents a banner ad or other type of advertisement does not mean that OASIS endorses or authorizes that third party, nor is it a representation of our affiliation with that third party. OASIS is in no way responsible for the privacy policies of these other websites to which users choose to access from the Service. Please be sure to read the privacy policies of those websites when exiting the Service.
Users may review, update, correct or delete any personal information by changing the applicable information in their profile page. If users completely delete all this information, the account may become deactivated. If users would like OASIS to delete their records in OASIS’s system, please contact OASIS and OASIS will attempt to accommodate users’ request if OASIS is not legally obligated to retain the record.
OASIS has put in place suitable technical and organizational measures designed to secure users’ personal information from accidental loss and from unauthorized access, use, alteration or disclosure. However, despite implementing these measures OASIS cannot guarantee that the users’ personal information will not be subject to any loss. Also please note that email and messaging systems are not considered secure, so OASIS discourages users from sending OASIS personal information through these mediums.
Protecting the users’ privacy (especially for minors) is the basic policy of OASIS. Users who are children shall use the OASIS service or play OASIS games with their parents’ consent. And the parents shall determine whether the service is suitable for their children or not using their own discretion. The Service is not geared toward children under the age of 13 and OASIS does not knowingly collect personal information from children under the age of 13. If users are under 13, they may use and access OASIS’s game only with the involvement of a parent or guardian. If a parent believes that his or her child has submitted personal information to OASIS, he or she can contact us through e-mail listed below. If OASIS learns that a child under 13 has provided OASIS with personal information, OASIS will delete such information from its files as quickly as possible. OASIS recognizes the importance of safeguarding the privacy of children and encourages parents to check and monitor their children's use of online activities regularly.
Users can contact us at: Oasis Games Limited Rm 1205(S01), 12/F, Tai Sang Bank Building, 130-132 Des Voeux Road，Central, Hong<EMAIL_ADDRESS>If users have any questions about this Privacy Policy, please contact OASIS via the above Email address.


Authentication token:
Program Manager
{{ program.name }}
This program doesn't have any activities yet. You can create one below.
{{ activity.name }}
{{ activity.expected_start_date | date:'mediumDate' }}
- {{ activity.expected_end_date | date:'mediumDate' }}


My bottle of 4-aco-DET is almost gone. All the stuff is on the walls of the bottle and stuck to the bottom. It looks yellow.  I used water to wash it out and I dumped it in orange juice. And as I am about to do what I just typed above I will be back when I am tripping. Lets see what happens.
Back and tripping. I came to the conclusion that when looking at a concrete floor the fractal like patterning is amazing. I do not want to type at all right now. But I am forcing myself to, itís almost as if the more I type the more I am going to vomit. It just makes me want to gag. Iíd rather be just looking at that floor. But I will not because I made a goal to type this report.
I see lots of colors all over the screen but more red and green. I think everyone on the planet should try this stuff, now I do not say that because of the feeling one gets, but rather the sheer mind expansion. Now Iím seeing more fractals then I can comprehend. Shit I see fractals shooting across the screen and my room. I came across this thought.  Times that by 10 and you will still not comprehend how amazing the fractals are. I mean itís like the most complex mathematics working in a visual mode that Einstein would suffer to understand.
I donít understand how my body can let me here the music but it does. And above all the stuff going on in my head I could see all these fractals. No need to think or understand no need to try to act normal or think Normal I believe I am working at my brains full potential and I come up with this conclusion because the fractals. The fractals are the key.  The concrete floor is good because it has many natural and un natural imperfections. Lots of nicks and cracks that make the fractals more crazy. It is as if the fractals are a pattern that I saw when I was a kid. And its so clear that I was on the floor looking closer and closer till I was inches away from it to make sure it was just my head and not the floor. It was so real. As I go closer I found that the fractals were the same crazy patters but in a smaller line of view, what this means is itís not what I am seeing on the floor but what my brain is making up inside my head.
Fractals are part of the mind working is a strange way. This RC is by far the king for fractals. I can control the fractals and make them move to the music. I am amazed as to what the brain can come up with. At the start of the trip I really thought I took to much and I was at the end of my life I thought I really did it this time and I went over the edge. Clean, pure, clear and true. A perfect mathematical bliss of color, shape and understanding.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Age on Earth : years.
Age on Mercury : years.
Age on Venus : years.
Age on Mars : years.
Age on Jupiter : years.
LifeExpectancy on Earth : years.
LifeExpectancy on Mercury : years.
LifeExpectancy on Venus : years.
LifeExpectancy on Mars : years.
LifeExpectancy on Jupiter : years.


Rick has been a Lecturer in the CSE department at UCSD since January 1991 (full-time since 2001) and an Instructor in the Information Technologies department at UCSD Extension from 1987 - 2005.
Teaching Awards include:
Classes he has taught in CSE at UCSD include:
Classes he has taught at UCSD Extension include:
Before coming to the CSE department, Rick worked in Academic Computing Services (ACS) at UCSD as a Unix systems programmer from March 1984 to August 1988, working full-time and going to graduate school part-time.
Rick became interested in computers while working at the UCSD Medical Center as a Physician's Assistant in the Division of Cardiothoracic Surgery (1979 - 1981). He would spend the on-call nights playing rudimentary Star Trek games on a computer system used for patient data monitoring. He also did a lot of interfacing between medical staff and the computer programming staff.
He also maintains a library of USENIX Conference
Proceedings, Computing Systems journals, ;login magazines, and other
publications available for anyone to check out. See the USENIX
Publications pages for abstracts, summaries, and more on-line info.
A couple of his favorite fractals.
Click on them to get the full size version.
Back to the UCSD Home Page


class IRB::JobManager
Attributes
The active irb session
Public Class Methods
Creates a new JobManager
object
# File lib/irb/ext/multi-irb.rb, line 18 def initialize @jobs = [] @current_job = nil end
Public Instance Methods
Deletes the job at the given key
.
# File lib/irb/ext/multi-irb.rb, line 122 def delete(key) case key when Integer fail NoSuchJob, key unless @jobs[key] @jobs[key] = nil else catch(:EXISTS) do @jobs.each_index do |i| if @jobs[i] and (@jobs[i][0] == key || @jobs[i][1] == key || @jobs[i][1].context.main.equal?(key)) @jobs[i] = nil throw :EXISTS end end fail NoSuchJob, key end end until assoc = @jobs.pop; end unless @jobs.empty? @jobs.push assoc end
Add the given irb
session to the jobs Array.
# File lib/irb/ext/multi-irb.rb, line 57 def insert(irb) @jobs.push [Thread.current, irb] end
Outputs a list of jobs, see the irb command irb_jobs
, or jobs
.
# File lib/irb/ext/multi-irb.rb, line 146 def inspect ary = [] @jobs.each_index do |i| th, irb = @jobs[i] next if th.nil? if th.alive? if th.stop? t_status = "stop" else t_status = "running" end else t_status = "exited" end ary.push format("#%d->%s on %s (%s: %s)", i, irb.context.irb_name, irb.context.main, th, t_status) end ary.join("\n") end
Returns the irb session for the given key
object, see search
for more information.
# File lib/irb/ext/multi-irb.rb, line 41 def irb(key) _, irb = search(key) irb end
Terminates the irb sessions specified by the given keys
.
Raises an IrbAlreadyDead exception if one of the given keys
is already terminated.
See Thread#exit for more information.
# File lib/irb/ext/multi-irb.rb, line 84 def kill(*keys) for key in keys th, _ = search(key) fail IrbAlreadyDead unless th.alive? th.exit end end
Returns the top level irb session.
# File lib/irb/ext/multi-irb.rb, line 52 def main_irb @jobs[0][1] end
Returns the top level thread.
# File lib/irb/ext/multi-irb.rb, line 47 def main_thread @jobs[0][0] end
The total number of irb sessions, used to set irb_name
of the current Context
.
# File lib/irb/ext/multi-irb.rb, line 28 def n_jobs @jobs.size end
Returns the associated job for the given key
.
If given an Integer, it will return the key
index for the jobs Array.
When an instance of Irb
is given, it will return the irb session associated with key
.
If given an instance of Thread, it will return the associated thread key
using Object#=== on the jobs Array.
Otherwise returns the irb session with the same top-level binding as the given key
.
Raises a NoSuchJob exception if no job can be found with the given key
.
# File lib/irb/ext/multi-irb.rb, line 106 def search(key) job = case key when Integer @jobs[key] when Irb @jobs.find{|k, v| v.equal?(key)} when Thread @jobs.assoc(key) else @jobs.find{|k, v| v.context.main.equal?(key)} end fail NoSuchJob, key if job.nil? job end
Changes the current active irb session to the given key
in the jobs Array.
Raises an IrbAlreadyDead exception if the given key
is no longer alive.
If the given irb session is already active, an IrbSwitchedToCurrentThread exception is raised.
# File lib/irb/ext/multi-irb.rb, line 68 def switch(key) th, irb = search(key) fail IrbAlreadyDead unless th.alive? fail IrbSwitchedToCurrentThread if th == Thread.current @current_job = irb th.run Thread.stop @current_job = irb(Thread.current) end
Returns the thread for the given key
object, see search
for more information.
# File lib/irb/ext/multi-irb.rb, line 34 def thread(key) th, = search(key) th end


Before Change
except AlphabetError:
pass
try:
return NucleotideSequence(nuc_seq_str, ambiguous=True)
except AlphabetError:
raise ValueError("FASTA data cannot be converted either to "
""NucleotideSequence" nor to "ProteinSequence"")
After Change
try:
// For nucleotides uracil is represented by thymine and
// there is is only one letter for completely unknown nucleotides
return NucleotideSequence(seq_str.replace("U","T").replace("X","N"))
except AlphabetError:
pass
try:
if "U" in seq_str:


Interface ISyncTargetFactory
- All Known Implementing Classes:
DefaultSyncTargetFactory
In order to avoid depending on specific implementations of any dependency frameworks, implementing classes provide factory functions to create all necessary instances.
-
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of the synchronization target instance.Creates a token storage to deliver the settings for authentication to the Smint.IO RESTful API.Creates a job data storage to make job data available for next run.Return the current settings for the synchronization process, which may have changed in the meantime.Get the factory to create sync target (DAM) specific data instances.
-
Method Details
-
createSyncTarget
ISyncTarget createSyncTarget()Creates an instance of the synchronization target instance.Since the synchronization target is a heavy class with a lot of cache data, it seems better to create a new instance on each call. However, the implementor of the sync target need to decide whether it is necessary to create a new instance on each call or not. At the moment the default implementation of
ISyncJob
, which isDefaultSyncJob
, reuses the target for all synchronization processes as long as the job is being scheduled. As soon as the job is being rescheduled, a new synchronization target will be created.- Returns:
- returns a new sync target on each call.
-
getSettings
ISettingsModel getSettings()Return the current settings for the synchronization process, which may have changed in the meantime.This function is called very, very often. So please use some form of caching to check, whether the data really have changed from one call to another. Although the settings hardly change, they might do.
- Returns:
- returns the currently valid settings on each request.
-
getAuthTokenStorage
IAuthTokenStorage getAuthTokenStorage()Creates a token storage to deliver the settings for authentication to the Smint.IO RESTful API.- Returns:
- the same authentication token storage on each request but must not return
null
.
-
getJobDataStorage
ISyncJobDataStorage getJobDataStorage()Creates a job data storage to make job data available for next run.If this function returns
null
, then an in-memory storage is used as default. The job data will be available for different runs but will automatically removed from memory, once the sync jobs are stopped and terminated. Nevertheless, it should be sufficient for most cases.- Returns:
- the same storage on each request or
null
.
-
getTargetDataFactory
ISyncTargetDataFactory getTargetDataFactory()Get the factory to create sync target (DAM) specific data instances.- Returns:
- a valid factory instance and must not return
null
-


We have heard gazillions time that marriages are made in heaven and celebrated on earth. Finally, we have realized it! To begin our happily ever after, I request the presence of you to make our celebration more special.
It could have happened lots of ways. But this is the way it happened. This is the path we took. This is our story.
It all started when we got a mutual match in matrimony. After some good conversations we were some what positive of each other but, we didn't took it as last.
I asked "will you be my wife?", and she replied "yes!!".  This is the day for our new beginning
Here comes the most anticipated BIG DAY of our lives, we are going to take the Eternal Promise of Love
Few extraordinary moments captured when we got Engaged


I am sure you just want to check my work out, so I'll be quick. I am not the smartest, but I am smart. In primary school I was the second smartest kid based on an iq test. The first went to an economics college. Me? I studied computer science. After that I started creating stuff for the web. For now I live in Washington DC /USA and self-employed. For Later,who knows? I'll sure be doing web stuff. Maybe for you.
I build websites. I mostly do front-end development (HTML5, CSS3, Jquery, Photoshop) and i like WordPress. If you want to work with me or just say "Hey Azat ! Whats up ?" For no reason what so ever, send me an email.


Click in the button below to change this message to a widely known quote.
COPYRIGHT © 2017 by Paulo Raoni


{% extends 'layout.html' %} {% block title %} Jagrati | SignUp Successful {% endblock %} {% block content %}
We have sent your Profile to our Admin for verification. You will recieve an Email Notification once your Profile gets verified by Admin.


| 040:059 Khan | : |
Verily, the Hour (Day of Judgement) is surely coming, therein is no doubt, yet most men believe not. |
| 040:059 Maulana | : |
The Hour is surely coming -- there is no doubt therein -- but most people believe not. |
| 040:059 Pickthal | : |
Lo! the Hour is surely coming, there is no doubt thereof; yet most of mankind believe not. |
| 040:059 Rashad | : |
Most certainly, the Hour (Day of Judgment) is coming, no doubt about it, but most people do not believe. |
| 040:059 Sarwar | : |
The Hour of Doom will inevitably come, but most people do not have faith. |
| 040:059 Shakir | : |
Most surely the hour is coming, there is no doubt therein, but most people do not believe. |
| 040:059 Sherali | : |
The Hour of punishment will, surely, come; there is no doubt about it; yet most men believe not. |
| 040:059 Yusufali | : |
The Hour will certainly come: Therein is no doubt: Yet most men believe not. |
Concepts/Themes Covered: الإيمان > اليوم الآخر > إثباته Faith> The Hereafter> Its Proof (Evidence)
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


Festival Guide:
[ Leaving the Festival ]
So you wish to leave the festival? Of course you can, but remember your team mates may need you. You will also forfeit any bonuses your team will recieve if they achieve the highest score at the end of the Festival period.
If you are the party leader, your whole team will leave the festival. Are you sure you want to leave?
Yes, I want to leave the festival


- Member DSIGSignature::getKeyInfoList ()
- The KeyInfo process is very primitive. An interface needs to be created to allow application developers to install an object into the Signature that the Signature can call on to translate KeyInfo lists into a Key.
- Returns:
- A pointer to the DSIGKeyInfoList object held by the DSIGSignature
- Member XENCCipherReference::appendBase64Transform ()=0
- Move to DSIGTransformList rather than re-implement in both DSIGReference and XENCCipherReference
- Member XENCCipherReference::appendXPathTransform (const char *expr)=0
- Move to DSIGTransformList rather than re-implement in both DSIGReference and XENCCipherReference
- Member XENCCipherReference::appendXPathFilterTransform (void)=0
- Move to DSIGTransformList rather than re-implement in both DSIGReference and XENCCipherReference
- Member XENCCipherReference::appendXSLTransform (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *stylesheet)=0
- Move to DSIGTransformList rather than re-implement in both DSIGReference and XENCCipherReference
- Member XENCCipherReference::appendCanonicalizationTransform (canonicalizationMethod cm)=0
- Move to DSIGTransformList rather than re-implement in both DSIGReference and XENCCipherReference
- Class XSECCryptoHash
- bring the interface here in-line with that provided for XSECCryptoBase64 - really should have only one way of calling these kinds of objects.
- Member XSECProvider::releaseSignature (DSIGSignature *toRelease)
- The DSIGSignature objects are fairly bulky in terms of creation and deletion. There should be a capability to store "released" objects in a re-use stack. At the moment the Provider class simply deletes the objects.
- See also:
- DSIGSignature::createBlankSignature
- Class XSECURIResolverGenericUnix
- Implement a "pluggable" URI resolver that allows developers to plug in different classes for different schemes
- Class XSECURIResolverGenericWin32
- Re-implement using the Windows Internet API
- Member CRYPTO_MAX_HASH_SIZE
- This should really come from each of the providers and should be implemented as a function call to *CryptoProvider
- Group wincapicrypto
- Need to allow the various classes to over-ride the PROV objects to allow specific private key instances rather than one instance across the library instance.
- Group crypto
- Add an ability to better handle "optional" functions. The library should make a call to the provider to see whether an optional function (e.g. extract key from X509) has been provided.
Generated on Sun Jul 3 17:58:12 2005 for XML-Security-C by
1.4.2


@ThreadSafe @DefaultImplementation(value=SingleJobTaskGroupQueue.class) public interface PendingTaskGroupQueue
Scheduler
enqueues the TaskGroups to schedule to this queue.
SchedulerRunner
refers to this queue when scheduling TaskGroups.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes and cleans up this queue.
|
Optional<ScheduledTaskGroup> |
dequeue()
Dequeues the next TaskGroup to be scheduled.
|
void |
enqueue(ScheduledTaskGroup scheduledTaskGroup)
Enqueues a TaskGroup to this PQ.
|
boolean |
isEmpty()
Checks whether there are schedulable TaskGroups in the queue or not.
|
void |
onJobScheduled(PhysicalPlan physicalPlanForJob)
Registers a job to this queue in case the queue needs to understand the topology of the job DAG.
|
void |
removeTaskGroupsAndDescendants(String stageIdOfTaskGroups)
Removes a stage and its descendant stages from this queue.
|
void enqueue(ScheduledTaskGroup scheduledTaskGroup)
scheduledTaskGroup
- to enqueue.Optional<ScheduledTaskGroup> dequeue()
void onJobScheduled(PhysicalPlan physicalPlanForJob)
physicalPlanForJob
- the job to schedule.void removeTaskGroupsAndDescendants(String stageIdOfTaskGroups)
stageIdOfTaskGroups
- for the stage to begin the removal recursively.boolean isEmpty()
void close()
Copyright © 2017. All rights reserved.


World's Most Passionate Ford Mustang Fan Approved Mustang Mach-E Name
Can you guess who it is?
by Jay TraugottExpanding the Ford Mustang nameplate may alone be controversial, but applying the world's original and most famous pony car's name to an all-electric crossover is another thing entirely. In short, it was a bold and brave move on Ford's part, but the decision to do so wasn't made unless a certain someone gave his approval. That someone happens to be one of the world's most passionate Mustang fans. He only owns 35 of them. His name also happens to be on the big sign outside.
Executive Chairman Bill Ford, according to Automotive News, did not at first want to call the Mach-E crossover a Mustang. He had to be convinced by Ford Team Edison, the special group within Ford assigned the task to develop EVs. "I certainly wasn't sold at the beginning – far from it," Ford said.
"They came to me and said, 'We really think we can make this Mustang-inspired, really Mustang-like.'  No one would say yes, but nobody would say no, either. I said, 'No, I'm sorry, I don't want to hurt the brand. This is not going to be a Mustang." But the team didn't give up without a fight.
They knew the vehicle they had. And they also knew that in order to win over those unconvinced that EVs are fun and engaging to drive, serious performance figures were a must. Anything that would wear that iconic badge had to deliver exhilarating performance.
The final naming decision actually came down to a single meeting, attended by Ford himself, along with Jim Farley, president of new businesses, technology, and strategy. Farley was one of the 2021 Mustang Mach-E project leaders. "Bill came in the room, we had all the information, we had a really open discussion with him," Farley said. "We had to prove to him it has all the substance of a Mustang."
The team argued to the Ford scion the vehicle could deliver 332 hp and 417 lb-ft with the base model. Its 0 -60 mph time would also be faster than the base Porsche Macan. The GT model would boost output to 459 hp and 612 lb-ft and a 0 to 60 time similar to that of the Porsche 911 GTS. Bill Ford was intrigued, but he still requested a test drive.
"When I drove it, I knew it had to be a Mustang," Ford said. "Frankly, I was getting there before because I believed the team when they were laying all the specs out. As it evolved and I started to see the performance characteristics, not just the 0 to 60, but the handling dynamics, the driving dynamics and the styling kept evolving, at some point I realized: Yeah, this is a Mustang. The pony could go on the grille."
Once he gave approval, the design team went into overdrive because the original non-Mustang-inspired design had to be scrapped. And now Bill Ford plans to buy the first Mustang Mach-E. "It doesn't replace the Mustang car I love," Ford said. "It's an addition to the family, and it's a really important one."


The OtterUI Hierarchy is roughly as follows:
The project contains scenes, scenes contain views, and views contain controls and animations. When creating a new project, how you choose to organize your scenes and views are largely left up to you. Examples of project organization include:
However you decide to organize your project is largely left to you, but it is recommended to not organize all views under a single scene. Multiple scenes can be loaded and interacted with at runtime, so it is much better and certainly recommended to organize your views into logical (and separate) scenes.
The Scene's only purpose is to manage the views it contains. It is responsible for ensuring that the OnActivate and OnDeactivate animations are called at the appropriate times, and also propagates input and events to the internal views. The View is where the real heavy-lifting occurs; it is responsible for maintaining and animating all of the controls that it owns.
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation


类 Polynomial
- java.lang.Object
-
- edu.princeton.cs.algs4.Polynomial
-
public class Polynomial extends java.lang.Object
ThePolynomial
class represents a polynomial with integer coefficients. Polynomials are immutable: their values cannot be changed after they are created. It includes methods for addition, subtraction, multiplication, composition, differentiation, and evaluation.For additional documentation, see Section 9.9 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
-
-
构造器概要
构造器 构造器 说明 Polynomial(int a, int b)
Initializes a new polynomial a x^b
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 int
compareTo(Polynomial that)
Compares two polynomials by degree, breaking ties by coefficient of leading term.Polynomial
compose(Polynomial that)
Returns the composition of this polynomial and the specified polynomial.int
degree()
Returns the degree of this polynomial.Polynomial
differentiate()
Returns the result of differentiating this polynomial.boolean
equals(java.lang.Object other)
Compares this polynomial to the specified polynomial.int
evaluate(int x)
Returns the result of evaluating this polynomial at the point x.static void
main(java.lang.String[] args)
Unit tests the polynomial data type.Polynomial
minus(Polynomial that)
Returns the result of subtracting the specified polynomial from this polynomial.Polynomial
plus(Polynomial that)
Returns the sum of this polynomial and the specified polynomial.Polynomial
times(Polynomial that)
Returns the product of this polynomial and the specified polynomial.java.lang.String
toString()
Return a string representation of this polynomial.
-
-
-
方法详细资料
-
compareTo
public int compareTo(Polynomial that)
Compares two polynomials by degree, breaking ties by coefficient of leading term.- 参数:
that
- the other point- 返回:
- the value
0
if this polynomial is equal to the argument polynomial (precisely whenequals()
returnstrue
); a negative integer if this polynomialt is less than the argument polynomial; and a positive integer if this polynomial is greater than the argument point
-
compose
public Polynomial compose(Polynomial that)
Returns the composition of this polynomial and the specified polynomial. Takes time proportional to the product of the degrees. (Faster algorithms are known, e.g., via FFT.)- 参数:
that
- the other polynomial- 返回:
- the polynomial whose value is
(this(that(x)))
-
degree
public int degree()
Returns the degree of this polynomial.- 返回:
- the degree of this polynomial, -1 for the zero polynomial.
-
differentiate
public Polynomial differentiate()
Returns the result of differentiating this polynomial.- 返回:
- the polynomial whose value is
this'(x)
-
equals
public boolean equals(java.lang.Object other)
Compares this polynomial to the specified polynomial.- 覆盖:
equals
在类中java.lang.Object
- 参数:
other
- the other polynoimal- 返回:
true
if this polynomial equalsother
;false
otherwise
-
evaluate
public int evaluate(int x)
Returns the result of evaluating this polynomial at the point x.- 参数:
x
- the point at which to evaluate the polynomial- 返回:
- the integer whose value is
(this(x))
-
main
public static void main(java.lang.String[] args)
Unit tests the polynomial data type.- 参数:
args
- the command-line arguments (none)
-
minus
public Polynomial minus(Polynomial that)
Returns the result of subtracting the specified polynomial from this polynomial.- 参数:
that
- the other polynomial- 返回:
- the polynomial whose value is
(this(x) - that(x))
-
plus
public Polynomial plus(Polynomial that)
Returns the sum of this polynomial and the specified polynomial.- 参数:
that
- the other polynomial- 返回:
- the polynomial whose value is
(this(x) + that(x))
-
times
public Polynomial times(Polynomial that)
Returns the product of this polynomial and the specified polynomial. Takes time proportional to the product of the degrees. (Faster algorithms are known, e.g., via FFT.)- 参数:
that
- the other polynomial- 返回:
- the polynomial whose value is
(this(x) * that(x))
-
toString
public java.lang.String toString()
Return a string representation of this polynomial.- 覆盖:
toString
在类中java.lang.Object
- 返回:
- a string representation of this polynomial in the format 4x^5 - 3x^2 + 11x + 5
-
-


Hey, wanna look at all the projects I've done?
can I have a job now, pls
07491 771 280
adam.shahzad@outlook.com


MRS Williams Helen ABIDJAN COTE D' IVOIRE Dearest One, I am Mrs williams Helen and the only wife of late Mr James williams who happens to be my husband. it is sad to say that he passed away mysteriously in France during one of his business trips abroad, 12th.Feb. 2004.Though his sudden death was linked or rather suspected to have been masterminded by an uncle of his who travelled with him at that time. But God knows the truth Before his death on Febuary 12th 2004 he called the secretary who accompanied him to the hospital and told her that he made a deposit of $35 million US DOLLARS (thirty five MILLION USA DOLLARS) with a security company in a box here in Abidjan Ivory Coast. and he did not disclose the name of the security company to his secretary and used my name as the next of kin, He also explained that it was because of this wealth that he was poisoned by his business assocaites, He said that I should seek for a foreign partner in a country of my choice where I will transfer this money and use it for investment purposes,can you assist me in clearing this fund into your account overseas as a beneficiary of the fund,and also use it for an investment purpose.I am just a house wife, really don't know what to do.Now I want an account overseas where I can transfer this funds. This is because I have suffered a lot of set backs as a result of incessant political crisis here in Ivory coast.The death of my husband actually brought sorrow to my life. Dearest one I am in a sincere desire of your humble assistance in this regards Your suggestions and ideas will be highly regarded,so that I will know how am I'm going to come over to your country . Now permit me to ask these few questions:- 1. Can you honestly help me as your relation or business partner? 2. Can I completely trust you? 3. What percentage of the total amount in question will be good for you after the money is in your account? Beside I'm corresponding with you from my country here in Cote D'Ivoire West Africa and moreso there is great political war going on here in my country that is the main reason why I contacted you to help me in getting me, my only son and our inheritance out of this country so that I may not loosed my life or my son or the inheritance to war in this country, Please,Consider this and get back to me as soon as possible.You can also reach me with williams<EMAIL_ADDRESS>Thank you so much. My sincere regards, Mrs williams helen


{% extends "_base.html" %} {% block head %} {% endblock %} {% block main %}
FAZ @ Sheraton Sunnyvale
1108 N Mathilda Ave.
Sunnyvale, CA 94089
Saturday, October 1, 2016 at 4:30pm
The Sheraton Sunnyvale offers complimentary shuttle service to guests. The shuttle runs Monday to Friday 7am to 7pm and on weekends upon request.
From SJC: Call<PHONE_NUMBER> in advance to arrange for pick up.
From SFO: Public transit is available via BART to Millbrae, then transfer to Caltrain southbound to Sunnyvale.
We have reserved special room rates at the Sheraton Sunnyvale. Reservations will be first come, first served. Please watch for more details in the coming days.
Your presence in our lives is the best gift we could ask for. If you wish to contribute to our new life together, please visit our registry page.
View Registry


Nobody's Kung Fool Black Mask
By Ross Anthony
Jet Li (of "Lethal Weapon 4" infamy) is the blacksheep of the 701 squad -- an elite military force of medically enhanced super-humans. Seems a few 701's got out of hand so the Hong Kong government decided to nicks the program ... i.e. terminate these tough guys (and gal). At the film's opening, Jet escapes alone (or so he thinks). For reasons not revealed to us, this 701 who can feel no physical or emotional pain becomes a pacifist and takes a job as a library page.
detective. And you know what happens when superhero's have cops for buddies ... they have a hard time staying pacifistic.
Okay, so the story isn't the strongest -- but did you really think it would be? Did you care? It's Jet Li looking like Kato and kicking butt! If that's what you expect, that's what you'll get.
"Black Mask" is a 1996 Hong Kong martial arts flick (rather typical of that genre as well). It's been dubbed over in English to add that cheesy late-night TV dimension to it. The squirty blood won't scare anyone either -- save for the potential dangers of Red Dye #2. But, it's paced well, Jet kicks a lot of bootie, it has romance, betrayal and a sense of humor. I had fun and enjoyed (in particular) the relationship between Jet and the cop; both played their parts respectably well, whether during a mid-air drop kick or a friendly game of chess.
Starring Jet, Li Karen Mok, Lau Ching Wan, Francoise Yip. Directed by Daniel Lee. Screenplay by Tsui Hark, Teddy Chen, Joe Ma. Produced by Tsui Hark and Released by Artisan Entertainment. Rated R.
Grade..........................A-
-- Copyright © 1999 Ross Anthony, currently based in Los Angeles, has scripted and shot documentaries, music videos, and shorts in 35 countries across North America, Europe, Africa and Asia. For more reviews visit: http://RossAnthony.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


I have a few plans regarding my future, and I believe that I can achieve these goal. As a highschooler who is on track to graduate one year early, I imagine many employers will find that impressive and wish to hire me based purely on that fact. As well as the fact that I plan to graduate with a 4.0 or close to that. Another factor that will play a prominent role in my future is that I am part of the NHS or National Honors Society and should be graduating with honors. With all of these factors, I feel that I could easily get any job I wish, so long as I have the proper education. Me being a very detail oriented person I would most likely seek out a job in digital arts, such as 3d modeling. I have no particular company I wish to work for, but I hope to be noticed by larger film companies such as Sony Entertainment. As for education, I would like to go to Neumont to learn coding, and Full Sail University in Florida for my digital arts education. (For more information about Full Sail University, click Here)


Three women and six children, all US citizens, killed in Mexico cartel massacre
Drug cartel gunmen in Mexico have ambushed three vehicles along a dirt road, slaughtering at least six children and three women, all of them US citizens living in the north of the country.
The grisly attack left one of their vehicles a burned-out, bullet-riddled hulk, authorities said today and the dead included eight-month-old twins.
At least five other youngsters were wounded by gunfire.
Mexican security secretary Alfonso Durazo said the attackers may have mistaken the group’s large vehicles for those of rival gangs.
But all of the victims were believed to be members of the extended LeBaron family, who live in a decades-old settlement founded by an offshoot of The Church of Jesus Christ of Latter-day Saints and had problems with drug traffickers over the years.
A LeBaron was killed a decade ago after denouncing the cartels.
In a tweet, President Donald Trump immediately offered to help Mexico “wage war on the drug cartels and wipe them off the face of the earth”.
But Mexican President Andres Manuel Lopez Obrador rejected that approach, saying his predecessors waged war, “and it didn’t work”.
A relative said the victims lived in the hamlet of La Mora in Sonora state, about 70 miles south of Douglas, Arizona.
A number of extended Mormon families live in farming communities clustered around the Chihuahua-Sonora state border.
Many members were born in Mexico and thus have dual citizenship.
While some of the splinter groups were once polygamous, many no longer are.
The group was attacked on Monday while travelling in a convoy of three SUVs toward Pancho Villa, in Chihuhua.
The relative asked not to be named for fear of reprisals.
The relative said he had located the burned-out vehicle containing the remains of his nephew’s wife and her four children, the twin babies and two other children.
Authorities said the Chevy Tahoe’s petrol tank had apparently been hit by gunfire and exploded.
“The mafia vehicles got her and four of her kids and … burnt them to a crisp,” said the relative.
READ MORE
Elections in four US states could give clues to next year’s presidential contest
Two women and two other children were later found dead.
The six children killed were eight months old, two and a half, 10, 11 and 12, according to family members.
“The United States stands ready, willing & able to get involved and do the job quickly and effectively,” Mr Trump tweeted.
“The great new President of Mexico has made this a big issue, but the cartels have become so large and powerful that you sometimes need an army to defeat an army!
But Mexico’s president said: “The worst thing you can have is war.”
It was the second failure in recent weeks for Mr Lopez Obrador’s “hugs not bullets” anti-crime strategy.
Two weeks ago, Mexican forces seized a son of the imprisoned drug lord known as El Chapo but had to release him after cartel henchmen launched a furious counterattack in Culiacan, Sinaloa.
The prosecutor’s office in Sonora state gave a description of the crime scene on the Sonora-Chihuahua border.
They said police first found the burned-out Chevy Tahoe with the five dead.
About 11 miles up the mountainous dirt road, they found a Suburban with a dead woman and two dead children inside.
Farther on, they found a second Suburban and, about 15 yards away, the body of a woman.
Police found a total of about 200 spent shell casings from assault rifles and other weapons at the various crime scenes.
“A wonderful family and friends from Utah got caught between two vicious drug cartels, who were shooting at each other, with the result being many great American people killed, including young children, and some missing,” Mr Trump wrote.
The relative said: “We’re guessing right now, but we believe it was a case of mistaken identity.
“They just opened fire on the vehicle because it was an SUV.”
Mr Durazo said the Sinaloa cartel had an important presence on the Sonora side, but that a rival gang was trying to invade the territory from the Chihuahua side.
The relative said he saw cartel gunmen gathered about a mile away after the ambush.
“There were probably 50 or 60 of them, armed to the teeth,” he said.
A suspect was detained near Agua Prieta, the prosecutor’s office said, but it was unclear whether the person had taken part in the ambush.
The suspect had assault rifles and a .50-calibre sniper rifle and was holding two bound kidnap victims, authorities said.
It was not the first time that members of the breakaway church had been attacked in northern Mexico.
In 2009, Benjamin LeBaron, an anti-crime activist who was related to those killed on Monday, was killed in 2009 in Chihuahua state.


Question 1: Let's start easy. What's your name?
Question 2: Don't lie now! How old are you?
Question 3: And where are you from?
Question 4: Very important if we want to be friends - Do you prefer dogs or cats?
Question 5: Also important if we want to hang out - Do you prefer wine or beer?
Question 6: Next let's decide what to binge watch. What's your favorite TV show?
Question 7: And just because I'm curious (and want to use numbers again) - How many years have you lived in Portland?


Howdy!
I'm Nivedhan Manavalan
Curious & engaging designer with a ♥ for uncovering real customer problems and creating delightful products that solve them
Download Resume
Question Editor
Course Editor
Annotating Trails
Weather General
Trucke
Process Innovation @ Cengage


 There are many global and regional preparation techniques and cooking styles. Barbecue chicken is often seasoned or coated in a spice rub, barbecue sauce, or both. Marinades are also used to tenderize the meat and add flavor. Rotisserie chicken has gained prominence and popularity in U.S. grocery markets. Barbecued chicken is one of the world's most popular barbecue dishes.Various techniques exist for cutting poultry for barbecuing, including skewering, butterflying, halving quartering and using individual pieces. Many diverse cooking and flavoring techniques exist for this fish.
The perfect burger should be juicy, tender and have some serious grill marks on the outside. How do you achieve this, you ask? Add a bit of water to the mix — this will ensure the patties stay deliciously moist as they cook. Beef is the third most widely consumed meat in the world, accounting for about 25% of meat production worldwide, after pork and poultry at 38% and 30% respectively.[1] In absolute numbers, the United States, Brazil, and the People's Republic of China are the world's three largest consumers of beef. On a per capita basis in 2009, Argentines consumed the most beef at 64.6 kg per person; people in the U.S. ate 40.2 kg, while those in the E.U. ate 16.9 kg.
The main ingredients of traditional Japanese sushi, raw fish and rice, are naturally low in fat, high in protein, carbohydrates (the rice only), vitamins, and minerals, as are gari and nori. Other vegetables wrapped within the sushi also offer various vitamins and minerals. Many of the seafood ingredients also contain omega-3 fatty acids, which have a variety of health benefits. The omega-3 fatty acids found in fish has certain beneficial properties, especially on cardiovascular.


Galvanize Delivers
Order Delivery
Order Delivery
menu
Menu
Royale with Cheese
$8.99
Add to order
Arugula Pie
$11.99
Add to order
Smoked Swine
$14.99
Add to order
Ice Cream Biscuit
$7.99
Add to order
Order
Item
Quantity
Price (per)
Subtotal:
$0.00
Tax:
$0.00
Total:
$0.00
account_circle
Full Name
phone
Phone Number
location_on
Address
Place Order


Confident of coming out clean: Weightlifter Ravi Kumar
by Hrusikesh MohantyHighlights
- Kumar said he has already presented his case before NADA and would present all the necessary documents soon.
- Kumar ruled out the possibility of taking part in the Tokyo Olympics next year.
- Kumar had won gold in the 69-kg category in the 2010 Commonwealth Games held in New Delhi.
BERHAMAPUR: Odisha weightlifter K Ravi Kumar, who has been banned for four years by the National Anti-Doping Agency (NADA) for violation of anti-doping rules, on Tuesday said the investigation has not been completed and he is confident of coming out clean.
Kumar further added that he has already presented his case before NADA and would present all the necessary documents soon.
"NADA has only completed its protocol. The hearing is underway and I have presented my case before the agency. I am very confident of coming out clean. I will not let my career get ruined," said Kumar, who won gold in the 69-kg category in the Commonwealth Games held in New Delhi in 2010 and represented India in the 2012 Olympics.
The 31-year-old, however, ruled out the possibility of taking part in the Tokyo Olympics next year.
In June this year, NADA had provisionally suspended Kumar for violation of anti-doping rules after he failed a dope test.
"Earlier, NADA had suspended me provisionally from June. Now it has completed its protocol and set the period for which I will be banned," said Kumar.


MidSideMerge → Tone.StereoEffect
Mid/Side processing separates the the 'mid' signal
(which comes out of both the left and the right channel)
and the 'side' (which only comes out of the the side channels).
MidSideMerge merges the mid and side signal after they've been seperated
by Tone.MidSideSplit.
Left = (Mid+Side)/sqrt(2); // obtain left signal from mid and side
Right = (Mid-Side)/sqrt(2); // obtain right signal from mid and side
new
Tone.MidSideMerge
()
members
.mid
{GainNode}
The mid signal input. Alias for
input[0]
.side
{GainNode}
The side signal input. Alias for
input[1]
.wet
~
{NormalRange}
The wet control, i.e. how much of the effected will pass through to the output.
methods


13.206. Release 0.57
Distinct Aggregations
The DISTINCT
argument qualifier for aggregation functions is now
fully supported. For example:
SELECT country, count(DISTINCT city), count(DISTINCT age)
FROM users
GROUP BY country
Note
approx_distinct()
should be used in preference to this
whenever an approximate answer is allowable as it is substantially
faster and does not have any limits on the number of distinct items it
can process. COUNT(DISTINCT ...)
must transfer every item over the
network and keep each distinct item in memory.
Hadoop 2.x
Use the hive-hadoop2
connector to read Hive data from Hadoop 2.x.
See Deploying Presto for details.
Amazon S3
All Hive connectors support reading data from Amazon S3. This requires two additional catalog properties for the Hive connector to specify your AWS Access Key ID and Secret Access Key:
hive.s3.aws-access-key=AKIAIOSFODNN7EXAMPLE
hive.s3.aws-secret-key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Miscellaneous
- Allow specifying catalog and schema in the JDBC Driver URL.
- Implement more functionality in the JDBC driver.
- Allow certain custom
InputFormat
s to work by propagating Hive serialization properties to theRecordReader
. - Many execution engine performance improvements.
- Fix optimizer performance regression.
- Fix weird
MethodHandle
exception.


Weather Dashboard
Search for a City
Clear History
Recently searched cities:
City Name:
5-Day Forecast