General recommendations for changing parameters

Parameters can be stored in configuration files, or they may be hardcoded in the program code.

The way that parameters are stored can differ depending on the version of the library you are using. For this reason, when using a different library version than the ones provided, you must first determine where the parameters to be changed are located.

The list of parameters that need to be changed differs depending on the programming language that the program is written in.

In general, you must find and replace the following lines in the library files, using the data you received when generating an API key:

Found string Modified string Example
http://safebrowsing.clients.google.com/safebrowsing/downloads?client=api&apikey=APIKEY&appver=CLIENTVER&pver=PVER&wrkey=MACKEY
http://sba.yandex.net/downloads?client=api&apikey=<API key value>&appver=2.3&pver=2.3
http://sba.yandex.net/downloads?client=api&apikey=12345&appver=2.3&pver=2.3
http://safebrowsing.clients.google.com/safebrowsing/gethash?client=api&apikey=APIKEY&appver=CLIENTVER&pver=PVER&wrkey=MACKEY
http://sba.yandex.net/gethash?client=api&apikey=<API key value>&appver=2.3&pver=2.3
http://sba.yandex.net/gethash?client=api&apikey=12345&appver=2.3&pver=2.3
https://sb-ssl.google.com/safebrowsing/newkey?client=api&apikey=APIKEY&appver=CLIENTVER&pver=PVER
https://sba.yandex.net/newkey?client=api&apikey=<API key value>&appver=2.3&pver=2.3
http://sba.yandex.net/newkey?client=api&apikey=12345&appver=2.3&pver=2.3
http://safebrowsing.clients.google.com/safebrowsing/list?client=api&apikey=APIKEY&appver=CLIENTVER&pver=PVER
http://sba.yandex.net/list?client=api&apikey=<API key value>&appver=2.3&pver=2.3
http://sba.yandex.net/list?client=api&apikey=12345&appver=2.3&pver=2.3
Attention. Substitute with the API key value provided to you.