<?php namespace App\Services; class ScrapingService { // evetnt_idはconnpassのURLで表示されるIDのこと // https://web-engineer-meetup.connpass.com/event/128855/ → 128855 public function getConnpassData($event_id) { $client = new \GuzzleHttp\Client(); $res = $client->request('GET', 'https://connpass.com/api/v1/event/', [ 'query' => ['event_id' => $event_id] ]); $json = json_decode($res->getBody(), true); retur

