A initial implementation of realtime task for contrataciones written in Rust
. This gets notifications from the EN CONVOCATORIA stage.
There are existing implementations such as using the site's own API, or using the mobile application. However, this approach can help create or automate tasks from anywhere.
Run with cargo run
. From here you can listen to all notifications in the Contrataciones Públicas Site.
This code can be tested using cargo test
to run tests and cargo bench
to run bench tests.
Add this to your Cargo.toml:
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
csv = "1.1"
serde = { version = "1", features = ["derive"] }
- Performs an initial data fetch.
- Run a comparison task between current data and previously obtained data.
- If there is a new tender, it shows the new tenders that have been found.
There is no relationship with Contrataciones Públicas.
If you like the project, give it a star, or you can contribute.
Distributed under the MIT License. See LICENSE.txt for more information.