Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterized the client name that is passed to the API #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akashawasthi
Copy link

The API guide @ https://developers.google.com/safe-browsing/lookup_guide recommends using a meaningful client name.

Sample URL =
https://sb-ssl.google.com/safebrowsing/api/lookup?client=CLIENT&key=APIKEY&appver=APPVER&pver=PVER

The client parameter indicates the type of client. You can choose any name. However, we suggest you choose a name that represents the true identity of the client, such as “yourcompanyname”.

The API guide @ https://developers.google.com/safe-browsing/lookup_guide
recommends using a meaningful client name.

--
Sample URL =
https://sb-ssl.google.com/safebrowsing/api/lookup?client=CLIENT&key=APIKEY&appver=APPVER&pver=PVER

The client parameter indicates the type of client. You can choose any
name. However, we suggest you choose a name that represents the true
identity of the client, such as “yourcompanyname”.
--
- in constructor - about client name
- in lookup() - about additional values returned by Safe Browsing in v3
onwards, e.g. "unwanted"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant