Skip to content

This application allows you to generate PDF reports with personal information of all directly related users in VK social network and allows you to add related contacts from other social networks.

License

Notifications You must be signed in to change notification settings

cyrillus31/VK_report_generator

Repository files navigation

VK_report_generator

This application allows you to generate PDF reports with personal information of all directly related users in VK social network and allows you to add related contacts from other social networks.

Endpoints

Visit the Swagger docs at /docs#

POST

/addFriend?user_id=<int>

This endpoint accepts the user object with the following expected structure:

{
  "id": 123456,
  "original_user_id": 654321,
  "social_network": "Social Network",
  "first_name": "Leopold",
  "last_name": "Bloom",
  "about": "Live in Dublin",
  "bdate": "16.06.1922"
}

GET

/getFriendsWithGroupsPDF?user_id=<int>

This endpoint will send you back an PDF report containing information about all users related to the user_id.

/getFriendsWithGroupsREPORT?user_id=<int>

This endpoint will send you back an HTML report containing information about all users related to the user_id.

Deploy

Set your ENV in .env
From the root folder of the project run the following command:

docker compose up -d

Contact me

About

This application allows you to generate PDF reports with personal information of all directly related users in VK social network and allows you to add related contacts from other social networks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages