The system is pulling automatic news, picture, video and graphic from Anadolu Ajansı API. The app is working 24 hourly. App will get all data from agency. The news format is XML. Image format is JPG. Video format is mp4. Graphic format is JPEG.
Anadolu Agency API Account
RabbitMQ
Nodejs
Pm2
https://nodejs.org/en/download/
npm i pm2
https://www.rabbitmq.com/install-windows.html
or
https://www.rabbitmq.com/install-debian.html
Port Number is 15672 for RabbitMQ Server.
cd ./anadolu-agency-automatic-data-pull
npm install
You could configure your account information.
const aaUserName = 'your agency username'
const aaPassword = 'your agency password'
module.exports = {
aaPassword,aaUserName
}
The code is working in the project folder.
cd ./anadolu-agency-automatic-data-pull
pm2 start server.js -n Agency-Main
pm2 start receive.js -n Agency-Receive
Distributed under the MIT License. See LICENSE.txt
for more information.
Ömer Mert KAYA - omermertkaya@hotmail.com.tr
Project Link: https://github.com/omermertkaya/anadolu-agency-automatic-data-pull