Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
sreality-client
Advanced tools
Javascript API client for the Sreality REST API.
Parameters:
page = 1, pageSize = 5, regionType = 'municipality', regionId = 3468
Example:
const { fetchHouses } = require('sreality-client');
fetchHouses(1, 5, 'municipality', 3468).then((data) => {
console.log('My Houses...', data);
});
Parameters:
page = 1, pageSize = 5, regionType = 'municipality', regionId = 3468
Example:
const { fetchFlats } = require('sreality-client');
fetchFlats(1, 5, 'municipality', 3468).then((data) => {
console.log('My Flats...', data);
});
Parameters:
page = 1, pageSize = 5, regionType = 'municipality', regionId = 3468
Example:
const { fetchParcels } = require('sreality-client');
fetchParcels(1, 5, 'municipality', 3468).then((data) => {
console.log('My Parcels...', data);
});
npm run build
Run all the tests suite:
npm test
npm run test:coverage
npm run eslint
This is not an official API. I am not affiliated with Sreality.cz in any way, and am not responsible for any damage that could be done with it.
I have only implemented very few functions that I need for a project.
I'd be happy to give up this library for an official and supported library.
I have built this library to retrieve properties from the REST API.
v0.0.6 - 26.07.2020
Dependency upgrade due to vulnerabilities Web API return +1 records, ie: when requesting 50 items, API returns 51.
FAQs
API Client for sreality.cz
The npm package sreality-client receives a total of 6 weekly downloads. As such, sreality-client popularity was classified as not popular.
We found that sreality-client 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.