Skip to content

Commit bbac881

Browse files
author
pipldev
committed
Added a comment that HTTPS is supported.
1 parent 2cc3f4a commit bbac881

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

lib/piplapis/name.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class NameAPIRequest
5959

6060
HEADERS = {'User-Agent' => 'piplapis/ruby/%s' % PiplApi::PIPLAPI_VERSION}
6161
BASE_URL = 'http://api.pipl.com/name/v2/json/?'
62+
# HTTPS is also supported:
63+
#BASE_URL = 'https://api.pipl.com/name/v2/json/?'
6264

6365
def initialize(params={})
6466
# `api_key` is a valid API key (str), use "samplekey" for

lib/piplapis/search.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ class SearchAPIRequest
7777

7878
HEADERS = {'User-Agent' => 'piplapis/ruby/%s' % PiplApi::PIPLAPI_VERSION}
7979
BASE_URL = 'http://api.pipl.com/search/v3/json/?'
80+
# HTTPS is also supported:
81+
#BASE_URL = 'https://api.pipl.com/search/v3/json/?'
8082

8183
def initialize(params={})
8284
# Initiate a new request object with given query params.

lib/piplapis/thumbnail.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ module PiplApi
2222
require_relative 'data/fields'
2323

2424
THUMB_BASE_URL = 'http://api.pipl.com/thumbnail/v2/?'
25+
# HTTPS is also supported:
26+
#THUMB_BASE_URL = 'https://api.pipl.com/thumbnail/v2/?'
2527
THUMB_MAX_PIXELS = 500
2628

2729
module ThumbnailApi

0 commit comments

Comments
 (0)