Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@datafire/google_kgsearch
Advanced tools
Client library for Knowledge Graph Search API
npm install --save @datafire/google_kgsearch
let google_kgsearch = require('@datafire/google_kgsearch').create();
.then(data => {
console.log(data);
});
Searches the Google Knowledge Graph for entities.
Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org
google_kgsearch.kgsearch.entities.search({}, context)
object
array
: The list of entity id to be used for search instead of query string. To specify multiple ids in the HTTP request, repeat the parameter in the URL as in ...?ids=A&ids=Bboolean
: Enables indenting of json results.array
: The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.integer
: Limits the number of entities to be returned.boolean
: Enables prefix match against names and aliases of entitiesstring
: The literal query string for search.array
: Restricts returned entities with these types, e.g. Person (as defined in http://schema.org/Person). If multiple types are specified, returned entities will contain one or more of these types.string
(values: 1, 2): V1 error format.string
: OAuth access token.string
(values: json, media, proto): Data format for response.string
: JSONPstring
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.string
: Upload protocol for media (e.g. "raw", "multipart").string
: Legacy upload protocol for media (e.g. "media", "multipart").object
: Response message includes the context and a list of matching results which contain the detail of associated entities.
array
: The item list of search results.FAQs
DataFire integration for Knowledge Graph Search API
We found that @datafire/google_kgsearch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.