SendGrid Spam Reports SendGrid Spam Reports
English RU

To solve this mission you must use the SendGrid API Key. When you click "Run" you will see the results of using your API key with your data, but if you click "Check" your solution will be tested using our data.

You are massively sending thousands and thousands emails every day, meanwhile experimenting with subject lines and the message itself. SendGrid allows you to see statistics of your spam reports.

Your mission is to figure out how many spam reports you receive on a specific day.

Input: Day as a string in format 'YYYY-MM-DD'

Output: Int. The amount of spam reports


how_spammed('2014-5-5') == 16