
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.
metoffice-fetch
Advanced tools
A simple package to fetch data from the [uk met office](https://metoffice.apiconnect.ibmcloud.com/metoffice/production/) API library.
A simple package to fetch data from the uk met office API library.
Just do
npm install metoffice-fetch
or
yarn add metoffice-fetch
import { FetchDailyData } from "metoffice-fetch";
const fetchData = async (latitude: number, longitude: number) => {
try {
const result = await FetchDailyData(
{
excludeParameterMetadata: true,
includeLocationName: false,
latitude,
longitude,
},
{
clientId: CLIENT_ID,
clientSecret: CLIENT_SECRET,
},
);
console.log(result.features[0].properties.timeSeries);
} catch (error) {
console.err(error);
}
};
Function | Return Type | Description |
---|---|---|
FetchHourlyData(params, headers) | Promise<MetOfficeResponse> | Fetches the hourly data |
FetchThreeHourlyData(params, headers) | Promise<MetOfficeResponse> | Fetches the Three Hourly data |
FetchDailyData(params, headers) | Promise<MetOfficeResponse> | Fetches the Daily Data |
The inputs param for all these functions are the same:
params: {
excludeParameterMetadata?: boolean;
includeLocationName?: boolean;
latitude: number;
longitude: number;
},
headers: {
clientId: string;
clientSecret: string;
}
Ali Rezaee nlndipi@hotmail.com
FAQs
A simple package to fetch data from the [uk met office](https://metoffice.apiconnect.ibmcloud.com/metoffice/production/) API library.
We found that metoffice-fetch 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
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.