
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@agility/content-fetch
Advanced tools
This is the official JavaScript/TypeScript library for accessing live and preview content from your Agility CMS instance.
You can use this in both node and browser based JS apps.
Don't have an Agility CMS instance? Sign up for Free Trial today!
In order to use this sdk, you'll need to install the @agility/content-fetch
package and you'll also need to authenticate your requests.
You must have access to an Agility instance to retrieve the guid and generate your apiKey. Or, you must have these values provided to you.
npm
npm install @agility/content-fetch
yarn
yarn add @agility/content-fetch
import agility from "@agility/content-fetch"
//initialize the api client
const api = agility.getApi({
guid: "[guid]",
apiKey: "[your-api-key]",
})
//make the request: get a content item with the ID 22 in locale 'en-us'
const contentItems = await api.getContentItem({
contentID: 22,
locale: "en-us",
})
Full documentation for this SDK can be found in our Agility Fetch JS SDK Reference Doc.
For docs & help around Agility CMS, please see Agility CMS Documentation
Authenticating your Content Fetch API Calls
Retrieving your API Key(s), Guid, and API URL
Making your First Call with the Content Fetch API
Calilng the Content Fetch API using the Javascript SDK
Page Management in a Headless CMS
Using Agility CMS with Create React App
Creating a Module for the Agility CMS Create React App
Creating a Page Template for the Agility CMS Create React App
Deploying your Agility CMS Create React App
If you would like to contribute to this SDK, you can fork the repository and submit a pull request. We'd love to include your updates.
An essential part of contributing to this SDK is adding and running unit tests to ensure the stability of the project.
> npm run test
FAQs
JS/TS library for the Agility Fetch API
The npm package @agility/content-fetch receives a total of 1,872 weekly downloads. As such, @agility/content-fetch popularity was classified as popular.
We found that @agility/content-fetch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.