Message from discussion
Is there an api that only returns the <arrivalAndDeparture> chunk?
Received: by 10.100.20.19 with SMTP id 19mr5318111ant.0.1322550829060;
Mon, 28 Nov 2011 23:13:49 -0800 (PST)
X-BeenThere: onebusaway-api@googlegroups.com
Received: by 10.100.236.2 with SMTP id j2ls2977465anh.0.gmail; Mon, 28 Nov
2011 23:13:48 -0800 (PST)
Received: by 10.236.175.225 with SMTP id z61mr3568935yhl.9.1322550828431;
Mon, 28 Nov 2011 23:13:48 -0800 (PST)
Received: by 10.236.175.225 with SMTP id z61mr3568933yhl.9.1322550828422;
Mon, 28 Nov 2011 23:13:48 -0800 (PST)
Return-Path: <bdfer...@onebusaway.org>
Received: from mail-yw0-f46.google.com (mail-yw0-f46.google.com [209.85.213.46])
by gmr-mx.google.com with ESMTPS id r27si2806418yhm.4.2011.11.28.23.13.48
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 28 Nov 2011 23:13:48 -0800 (PST)
Received-SPF: neutral (google.com: 209.85.213.46 is neither permitted nor denied by best guess record for domain of bdfer...@onebusaway.org) client-ip=209.85.213.46;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.213.46 is neither permitted nor denied by best guess record for domain of bdfer...@onebusaway.org) smtp.mail=bdfer...@onebusaway.org
Received: by mail-yw0-f46.google.com with SMTP id 9so3772899ywa.19
for <onebusaway-api@googlegroups.com>; Mon, 28 Nov 2011 23:13:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.182.74.41 with SMTP id q9mr13364368obv.28.1322550827985; Mon,
28 Nov 2011 23:13:47 -0800 (PST)
Received: by 10.182.72.65 with HTTP; Mon, 28 Nov 2011 23:13:47 -0800 (PST)
In-Reply-To: <CAHwiQtK5Atd8Vv8aFBRx59Fo8sdid2TSx2YCCWxuqDTay0GFDw@mail.gmail.com>
References: <CAHwiQtK5Atd8Vv8aFBRx59Fo8sdid2TSx2YCCWxuqDTay0GFDw@mail.gmail.com>
Date: Tue, 29 Nov 2011 08:13:47 +0100
Message-ID: <CAC4ms01GOxP0yf5=P+85LzJUMSXP6n6FWk0FgvWHfA2n7ZqEkQ@mail.gmail.com>
Subject: Re: [onebusaway-api] Is there an api that only returns the
<arrivalAndDeparture> chunk?
From: Brian Ferris <bdfer...@onebusaway.org>
To: onebusaway-api@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Every API method supports a "includeReferences=3Dtrue|false" parameter
that determines if the <references/> section is included in the API
response. If you don't need the references section, excluding it can
reduce the size of the response substantially. Also, if you are
working with a mobile app, you might also consider accepting gzip
compression for the http response, which can also dramatically reduce
the size of the response that actually travels over the network.
Thanks,
Brian
On Tue, Nov 29, 2011 at 4:50 AM, Rafael Zimberoff
<rafael.zimber...@gmail.com> wrote:
> I apologize if this is right in front of me and I missed it...
> I have been using the api "arrivals-and-departures-for-stop" which is GRE=
AT.
> But for busy stops, it returns a BIG response.
> I really only need the=A0<arrivalAndDeparture> section, and (ideally) wou=
ld be
> able to request "stop" "route" and get=A0<arrivalAndDeparture> for just t=
hat
> stop and route.
> Does this api exist, or should I continue to parse out the big response?
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "OneBusAway API" group.
> To post to this group, send email to onebusaway-api@googlegroups.com.
> To unsubscribe from this group, send email to
> onebusaway-api+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/onebusaway-api?hl=3Den.
>