Added Codeforces Contest Schedule/data #1014
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I have added a function and Class for retrieving Codeforces Contest data through web scraping. The data includes the title, date and length of all ongoing and upcoming contests. I have also included the necessary comments for understanding how to use the code/function.
I have used the same format as used in the leetcode and hacker rank modules for contest data.
I have updated the dev-documentation file, and created a init.py file.
Resolves: #935
Checklist
Screenshots
The main addition:
The final output in the format as used in other modules:
Followed the same format as the hacker rank module:
![image](https://private-user-images.githubusercontent.com/111494403/331815682-f46e5002-d36d-4f3d-b5a0-4b8607676def.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDgxMDIsIm5iZiI6MTczOTQ0NzgwMiwicGF0aCI6Ii8xMTE0OTQ0MDMvMzMxODE1NjgyLWY0NmU1MDAyLWQzNmQtNGYzZC1iNWEwLTRiODYwNzY3NmRlZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMTU2NDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YTQyNmMxM2U3NzRkMGEzMjBlNzE2OTIzODU2MTAxNTFjMThmYjA5NDVkMDg0YWMxYTdjYWI3NmY0YmY0YjExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.UAWgP-wAW5wZgSWOZWKVCc4K2GsJ20k_PoLSrC6DLVg)
![image](https://private-user-images.githubusercontent.com/111494403/331815877-6b70bc6a-ec88-49aa-98cf-b2675e77829f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDgxMDIsIm5iZiI6MTczOTQ0NzgwMiwicGF0aCI6Ii8xMTE0OTQ0MDMvMzMxODE1ODc3LTZiNzBiYzZhLWVjODgtNDlhYS05OGNmLWIyNjc1ZTc3ODI5Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMTU2NDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00NTc3OGEwODk5YmZjNTE0NzM5ODQ3ZGJhM2FmYTIwOTRiOGQ3ZWNjYmQyZTI2NTlmOWZjYzNlMjBjNDg5OTFkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.rcdRLmdMz12qjBpPbOkRNh6yuZHK_fqXrov_3DtsTDI)
Updated the dev-documentation file:
I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.