MyCookbook.io

부분 유료
분류별 mycookbook | 업데이트됨 일 년 전 | Food
인기

8.9 / 10

지연 시간

1,277ms

서비스 수준

98%

모든 토론으로 돌아가기

'created-by' cannot be empty

avatar

what does it mean when i get a status code of 400 and a body of “‘created-by’ cannot be empty”? is there any more documentation for this api? also why does an unsuccessful call still get counted against me? i like the idea of this api but i cant even get the given example working. what a shame

avatar
mycookbook commented 3년 전

Hi jarrettconfrey,

Thanks for reaching out to us.

We were migrating our infrastructure last week and unfortunately, it had a severe impact on the availability of this specific endpoint. We’re sorry for any inconvenience this has caused to you.

The idea behind the API is quite simple: an API user submits the URL of a recipe web page and the API returns the recipe in a formatted output.

The output of each processed recipe is broken down into:

  • name
  • ingredients
  • instructions
  • yield
  • preparation time
  • cooking time
  • total time
  • images (URLs)

Since not all recipes include this content, the output you get from the API may vary and not always contain a parsed output for all of these sections. For instance, a recipe that doesn’t contain the total time or the images will still be parsed but these attributes will be missing in the output. In rare cases when the recipe can’t be parsed at all, the output will contain only the name.

If you have any further questions, don’t hesitate to get back to us, we greatly appreciate your feedback.

Best regards,
Matthew

Support Team
MyCookbook.io

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입
등급: 4 - 투표: 1